|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.wordnet.ejb.DocumentFragmentParser
public class DocumentFragmentParser
DOMFragmentParser build a document fragment from an XML fragment source that has not necessary a unique root element, or that may have text content around the root element(s).
The XML fragment mustn't contain DTD stuff : it must be a pure mix of XML tags and/or text. Entity resolution is thus irrelevant.
The fragment may begin with a text declaration.
| Constructor Summary | |
|---|---|
DocumentFragmentParser()
Create a parser that parses XML fragments. |
|
| Method Summary | |
|---|---|
org.w3c.dom.DocumentFragment |
parse(org.xml.sax.InputSource thatInput)
Parse an input source. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentFragmentParser()
| Method Detail |
|---|
public org.w3c.dom.DocumentFragment parse(org.xml.sax.InputSource thatInput)
throws org.xml.sax.SAXException,
java.io.IOException
thatInput - the input to parse.
org.xml.sax.SAXException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||