|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.xtm.XtmNode
org.ceryle.xtm.XtmResourceData
public class XtmResourceData
Defines a resource data object, as occurs in a topic map, such that instances of this class are objects representing resource data, designed to assist in building in-memory representations via the XtmProcessor class. XtmResourceData objects are not representations of XTM <resourceData> Elements.
XtmNode| Field Summary |
|---|
| Fields inherited from class org.ceryle.xtm.XtmNode |
|---|
ASSOCIATION_NODE, BASENAME_NODE, BASENAMESTRING_NODE, COMMENT_NODE, DOCUMENT_NODE, GrpSep, GRPSEP, id, INSTANCEOF_NODE, MEMBER_NODE, MERGEMAP_NODE, NODE, NonType, NONTYPE, OCCURRENCE_NODE, PARAMETERS_NODE, PROCESSING_INSTRUCTION_NODE, RecSep, RECSEP, REFERENCE_NODE, RESOURCEDATA_NODE, RESOURCEREF_NODE, ROLESPEC_NODE, SCOPE_NODE, SUBJECTIDENTITY_NODE, SUBJECTINDICATORREF_NODE, TOPIC_NODE, TOPICMAP_NODE, TOPICREF_NODE, VARIANT_NODE, VARIANTNAME_NODE |
| Constructor Summary | |
|---|---|
XtmResourceData()
Default constructor. |
|
XtmResourceData(String content)
XtmResourceData constructor with String content. |
|
XtmResourceData(String id,
String content)
XtmResourceData constructor with a provided ID and String content. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares the String content of this XtmResourceData with the provided Object for order. |
String |
getContent()
Returns the String content of this XtmResourceData. |
String |
getHash()
Return a String hashcode generated from this XtmResourceData's content. |
String |
getName()
Returns a String containing the name of this XTM element type. |
short |
getNodeType()
A short integer indicating what type of node this is. |
void |
setContent(String content)
Sets the content of this XtmResourceData to the String content. |
| Methods inherited from class org.ceryle.xtm.XtmNode |
|---|
addPI, getID, getPI, getPIs, hasNext, next, remove, removePI, setID |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XtmResourceData()
throws XtmException
XtmException
public XtmResourceData(String content)
throws XtmException
XtmException
public XtmResourceData(String id,
String content)
throws XtmException
XtmException - if the provided ID is invalid.| Method Detail |
|---|
public String getName()
getName in class XtmNodepublic short getNodeType()
getNodeType in class XtmNodepublic String getHash()
public void setContent(String content)
public String getContent()
public int compareTo(Object o)
compareTo in interface Comparable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||