|
|||||||||
| 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.XtmProcessingInstruction
public class XtmProcessingInstruction
Defines a processing instruction (PI) occurring in a topic map. Note that PIs are not considered part of the document tree and their use is generally custom to a specific application (ie., no such use is defined in the XTM 1.0 Specification).
| Field Summary | |
|---|---|
protected String |
data
A String containing the data (value) of this processing instruction. |
protected String |
target
A String containing the target (name) of this processing instruction. |
| 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 | |
|---|---|
XtmProcessingInstruction(String target,
String data)
Constructor with provided target and data. |
|
| Method Summary | |
|---|---|
String |
getData()
Return as a String representing the data of this XtmProcessingInstruction. |
short |
getNodeType()
A short integer indicating what type of node this is. |
String |
getTarget()
Return as a String representing the data of this XtmProcessingInstruction. |
int |
length()
Return the length of this PI's data in characters as an int. |
void |
setData(String data)
Set the data (value) of this processing instruction to data. |
| Methods inherited from class org.ceryle.xtm.XtmNode |
|---|
addPI, getID, getName, 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 |
| Field Detail |
|---|
protected String target
protected String data
| Constructor Detail |
|---|
public XtmProcessingInstruction(String target,
String data)
| Method Detail |
|---|
public short getNodeType()
getNodeType in class XtmNodepublic String getTarget()
public void setData(String data)
data - a String containing this PI's data.public String getData()
public int length()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||