|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface OMNode
Field Summary | |
static short |
CDATA_SECTION_NODE
The node is a CDATASection . |
static short |
COMMENT_NODE
The node is a Comment . |
static short |
DTD_NODE
This node is a DTD . |
static short |
ELEMENT_NODE
The node is an Element . |
static short |
ENTITY_REFERENCE_NODE
This node is a Entity Reference . |
static short |
PI_NODE
This node is a ProcessingInstruction . |
static short |
SPACE_NODE
This node is a Entity Reference . |
static short |
TEXT_NODE
The node is a Text node. |
Method Summary | |
void |
build()
Builds itself |
OMNode |
detach()
This will remove this information item and its children, from the model completely. |
void |
discard()
Discards a Node. |
OMNode |
getNextSibling()
This will give the next sibling. |
OMContainer |
getParent()
This method should return the immediate parent of the node. |
OMNode |
getPreviousSibling()
get the previous sibling |
int |
getType()
This is to get the type of node, as this is the super class of all the nodes |
void |
insertSiblingAfter(OMNode sibling)
This will insert a sibling just after the current information item. |
void |
insertSiblingBefore(OMNode sibling)
This will insert a sibling just before the current information item |
boolean |
isComplete()
this will indicate whether parser has parsed this information item completely or not. |
void |
serialize(XMLStreamWriter xmlWriter)
Serialize the node without caching |
void |
serializeWithCache(XMLStreamWriter xmlWriter)
Serialize the node with caching |
Field Detail |
public static final short ELEMENT_NODE
Element
.
public static final short TEXT_NODE
Text
node.
public static final short CDATA_SECTION_NODE
CDATASection
.
public static final short COMMENT_NODE
Comment
.
public static final short DTD_NODE
DTD
.
public static final short PI_NODE
ProcessingInstruction
.
public static final short ENTITY_REFERENCE_NODE
Entity Reference
.
public static final short SPACE_NODE
Entity Reference
.
Method Detail |
public OMContainer getParent() throws OMException
OMException
public OMNode getNextSibling() throws OMException
OMException
public boolean isComplete()
public OMNode detach() throws OMException
OMException
public void discard() throws OMException
OMException
public void insertSiblingAfter(OMNode sibling) throws OMException
sibling
-
OMException
public void insertSiblingBefore(OMNode sibling) throws OMException
sibling
-
OMException
public int getType() throws OMException
OMException
public OMNode getPreviousSibling()
public void serializeWithCache(XMLStreamWriter xmlWriter) throws XMLStreamException
xmlWriter
-
XMLStreamException
#serializeWithCache(org.apache.axis2.om.impl.OMOutputImpl)
public void serialize(XMLStreamWriter xmlWriter) throws XMLStreamException
xmlWriter
-
XMLStreamException
#serialize(org.apache.axis2.om.impl.OMOutputImpl)
public void build()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |