|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectthredds.catalog.InvDocumentation
public class InvDocumentation
A documentation object: text, HTML or an Xlink. TODO: XHTML
Constructor Summary | |
---|---|
InvDocumentation()
|
|
InvDocumentation(String href,
URI uri,
String title,
String type,
String inlineContent)
Constructor. |
Method Summary | |
---|---|
static String |
editableProperties()
|
boolean |
equals(Object o)
InvDocumentation elements with same values are equal. |
String |
getInlineContent()
Get inline content as a string, else null if there is none |
String |
getType()
|
URI |
getURI()
if its a XLink, get the absolute URI |
String |
getXlinkContent()
if its a XLink, get its content. |
String |
getXlinkHref()
if its a XLink, get the href, to display the link to the user. |
String |
getXlinkTitle()
if its a XLink, get the title, to display the link to the user. |
int |
hashCode()
Override Object.hashCode() to implement equals. |
boolean |
hasXlink()
|
static String |
hiddenProperties()
|
void |
setInlineContent(String s)
|
void |
setType(String type)
|
void |
setXlinkHref(String href)
|
void |
setXlinkTitle(String title)
|
String |
toString()
string representation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvDocumentation(String href, URI uri, String title, String type, String inlineContent)
href
- : href of documentation, may be null.uri
- : resolved URL, or nulltitle
- : Xlink title, may be null.type
- : user-defined InvDocumentation typeinlineContent
- : optional inline contents.public InvDocumentation()
Method Detail |
---|
public String getType()
public void setType(String type)
public boolean hasXlink()
public URI getURI()
public String getXlinkTitle()
public void setXlinkTitle(String title)
public String getXlinkHref()
public void setXlinkHref(String href) throws URISyntaxException
URISyntaxException
public String getXlinkContent() throws IOException
IOException
- on read errorpublic String getInlineContent()
public void setInlineContent(String s)
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public static String hiddenProperties()
public static String editableProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |