|
XML for Java Compatibility API 2.0.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.ibm.xml.parser.CMNode
|
+--com.ibm.xml.parser.CM2op
CM2op provides content model support for content model nodes that contain the "|", or "," language primitives. Refer to ElementDecl for an overview of the content model, and how these language primitives are used to express relationships.
ElementDecl,
CMNode,
CMLeaf, Serialized Form| Constructor Summary | |
CM2op(int type,
CMNode leftNode,
CMNode rightNode)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
|
CMNode |
getLeft()
Returns the content model node prior to the separator type. |
CMNode |
getRight()
Returns the content model node after the separator type. |
int |
getType()
Returns the language primitive associated with this content model node. |
int |
hashCode()
|
void |
setLeft(CMNode leftNode)
Sets the content model node prior to the separator type. |
void |
setRight(CMNode rightNode)
Sets the content model node after the separator type. |
java.lang.String |
toString()
Returns the string representation of this left and right content model nodes and its associated separator language primitive. |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public CM2op(int type,
CMNode leftNode,
CMNode rightNode)
type - The language primitive associated with this content model node. Must
be "|", or ",".leftNode - The content model node prior to the type separator, or null
if left will be set later.rightNode - The content model node after the type separator, or null
if right will be set later.| Method Detail |
public int getType()
public CMNode getLeft()
setLeft(com.ibm.xml.parser.CMNode)public void setLeft(CMNode leftNode)
leftNode - The content model node prior to the separator type.getLeft()public CMNode getRight()
setRight(com.ibm.xml.parser.CMNode)public void setRight(CMNode rightNode)
rightNode - The content model node after the separator type.getRight()public java.lang.String toString()
(elementX|elementY)public boolean equals(java.lang.Object obj)
public int hashCode()
|
XML for Java Compatibility API 2.0.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||