|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xfp.AttributeContainer org.xfp.Filter org.xfp.filters.xml.DOMParser
Parses XML data into a DOM using the JAXP API.
Nested Class Summary |
Nested classes inherited from class org.xfp.Filter |
Filter.OnErrorEnum, Filter.OnLoopErrorEnum |
Field Summary |
Fields inherited from class org.xfp.AttributeContainer |
name, parentContainer |
Constructor Summary | |
DOMParser()
|
Method Summary | |
org.w3c.dom.Document |
execute(java.io.File file)
Executes this filter. |
org.w3c.dom.Document |
execute(org.xml.sax.InputSource in)
Executes this filter. |
org.w3c.dom.Document |
execute(java.io.InputStream is)
Executes this filter. |
org.w3c.dom.Document |
execute(java.io.Reader reader)
Executes this filter. |
org.w3c.dom.Document |
execute(java.lang.String xml)
Executes this filter. |
org.w3c.dom.Document |
execute(java.net.URI uri)
Executes this filter. |
void |
reset()
Resets filter status after execution. |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Allows the user to set specific attributes on the underlying JAXP implementation. |
void |
setCoalescing(boolean coalescing)
Specifies that the parser produced by this code will convert CDATA nodes to Text nodes and append it to the adjacent (if any) text node. |
void |
setExpandEntityReferences(boolean expandEntityReferences)
Specifies that the parser produced by this code will expand entity reference nodes. |
void |
setIgnoringComments(boolean ignoringComments)
Specifies that the parser produced by this code will ignore comments. |
void |
setIgnoringElementContentWhitespace(boolean ignoringElementContentWhitespace)
Specifies that the parsers created by this factory must eliminate whitespace in element content (sometimes known loosely as 'ignorable whitespace') when parsing XML documents (see XML Rec 2.10). |
void |
setNamespaceAware(boolean namespaceAware)
Specifies that the parser produced by this code will provide support for XML namespaces. |
void |
setValidating(boolean validating)
Specifies that the parser produced by this code will validate documents as they are parsed. |
Methods inherited from class org.xfp.Filter |
getOnError, initialize, log, newInstance, perform, toString |
Methods inherited from class org.xfp.AttributeContainer |
configureAttributes, disposeAttributes, getAttributes, getFullName, getName, initializeAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DOMParser()
Method Detail |
public org.w3c.dom.Document execute(java.io.File file) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Document execute(org.xml.sax.InputSource in) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Document execute(java.io.InputStream is) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Document execute(java.io.Reader reader) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Document execute(java.lang.String xml) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Document execute(java.net.URI uri) throws java.lang.Exception
java.lang.Exception
public void reset()
Filter
reset
in class Filter
Filter.reset()
public void setCoalescing(boolean coalescing)
public void setExpandEntityReferences(boolean expandEntityReferences)
public void setIgnoringComments(boolean ignoringComments)
public void setIgnoringElementContentWhitespace(boolean ignoringElementContentWhitespace)
public void setNamespaceAware(boolean namespaceAware)
public void setValidating(boolean validating)
public void setAttribute(java.lang.String name, java.lang.Object value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |