public class InvDocumentation extends Object
Constructor and Description |
---|
InvDocumentation() |
InvDocumentation(String href,
URI uri,
String title,
String type,
String inlineContent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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
|
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()
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 boolean equals(Object o)
public int hashCode()
public static String hiddenProperties()
public static String editableProperties()
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.