Package thredds.client.catalog
Class Documentation
java.lang.Object
thredds.client.catalog.Documentation
Client catalog documentation element
- Since:
- 1/9/2015
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()getURI()if its a XLink, get the absolute URIif its a XLink, get the href, to display the link to the user.if its a XLink, get the title, to display the link to the user.inthashCode()booleanhasXlink()Get inline content as a string, else null if there is nonetoString()
-
Constructor Details
-
Documentation
Constructor.- Parameters:
href- : href of documentation, may be null.uri- : absolute URL, or nulltitle- : Xlink title, may be null.type- : user-defined InvDocumentation typeinlineContent- : optional inline contents.
-
-
Method Details
-
getType
-
hasXlink
public boolean hasXlink() -
getURI
if its a XLink, get the absolute URI- Returns:
- the XLink URI, else null
-
getXlinkTitle
if its a XLink, get the title, to display the link to the user.- Returns:
- the XLink title, else null
-
getXlinkHref
if its a XLink, get the href, to display the link to the user.- Returns:
- the XLink href, or null
-
getInlineContent
-
readXlinkContent
Get inline content as a string, else null if there is none- Returns:
- inline content as a string, else null
- Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode()
-