|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.vex.dom.DocumentFragment
Represents a fragment of an XML document.
Field Summary | |
static java.lang.String |
MIME_TYPE
Mime type representing document fragments: "text/x-vex-document-fragment" |
Constructor Summary | |
DocumentFragment(Content content,
Element[] elements)
Class constructor. |
Method Summary | |
Content |
getContent()
Returns the Content object holding this fragment's content. |
Element[] |
getElements()
Returns the elements that make up this fragment. |
int |
getLength()
Returns the number of characters, including sentinels, represented by the fragment. |
java.lang.String[] |
getNodeNames()
Returns an array of element names and Validator.PCDATA representing the content of the fragment. |
Node[] |
getNodes()
Returns the nodes that make up this fragment, including elements and Text objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MIME_TYPE
Constructor Detail |
public DocumentFragment(Content content, Element[] elements)
content
- Content holding the fragment's content.elements
- Elements that make up this fragment.Method Detail |
public Content getContent()
public int getLength()
public Element[] getElements()
public java.lang.String[] getNodeNames()
public Node[] getNodes()
Text
objects.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |