|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DOMBuilderFactory
An interface to JAXP XML DOM builder factories.
| Field Summary | |
|---|---|
static String |
DOM_BUILDER_FACTORY_PROPERTY
The DOM builder factory system property. |
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Gets an attribute of the factory. |
String |
getDocumentBuilderFactory()
Gets the class name of the implemention of the factory. |
boolean |
isCoalescing()
Indicates whether or not the factory is configured to produce parsers which converts CDATA nodes to Text nodes and appends it to the adjacent (if any) Text node. |
boolean |
isExpandEntityReferences()
Indicates whether or not the factory is configured to produce parsers which expand entity reference nodes. |
boolean |
isIgnoreElementContentWhitespace()
Indicates whether or not the factory is configured to produce parsers which ignore ignorable whitespace in element content. |
boolean |
isIgnoringComments()
Indicates whether or not the factory is configured to produce parsers which ignores comments. |
boolean |
isNamespaceAware()
Indicates whether or not the factory is configured to produce parsers which are namespace aware. |
boolean |
isValidating()
Indicates whether or not the factory is configured to produce parsers which validate the XML content during parse. |
void |
setAttribute(String name,
Object value)
Sets an attribute of the factory. |
void |
setCoalescing(boolean flag)
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 |
setDocumentBuilderFactory(String factory)
Sets the class name of the implemention of the factory. |
void |
setExpandEntityReferences(boolean flag)
Specifies that the parser produced by this code will expand entity reference nodes. |
void |
setIgnoreElementContentWhitespace(boolean flag)
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 |
setIgnoringComments(boolean flag)
Specifies that the parser produced by this code will ignore comments. |
void |
setNamespaceAware(boolean flag)
Specifies that the parser produced by this code will provide support for XML namespaces. |
void |
setValidating(boolean flag)
Specifies that the parser produced by this code will validate documents as they are parsed. |
| Methods inherited from interface org.norther.tammi.core.base.ObjectFactory |
|---|
getInstance, getInstance, getInstance, getInstance, isLoaderSupported |
| Field Detail |
|---|
static final String DOM_BUILDER_FACTORY_PROPERTY
| Method Detail |
|---|
String getDocumentBuilderFactory()
void setDocumentBuilderFactory(String factory)
throws LogException
factory - the class name.
LogException - if the factory is already initialized.Object getAttribute(String name)
name - the name of the attribute.
void setAttribute(String name,
Object value)
throws LogException
name - the name of the attribute.value - the value of the attribute.
LogException - for attribute errors.boolean isCoalescing()
void setCoalescing(boolean flag)
flag - true to convert CDATA nodes to Text nodes, false otherwise.boolean isExpandEntityReferences()
void setExpandEntityReferences(boolean flag)
flag - true to expand entity reference nodes, false otherwise.boolean isIgnoreElementContentWhitespace()
void setIgnoreElementContentWhitespace(boolean flag)
flag - true to ignore whitespace, false otherwise.boolean isIgnoringComments()
void setIgnoringComments(boolean flag)
flag - true to ignore comments, false otherwise.boolean isNamespaceAware()
void setNamespaceAware(boolean flag)
flag - true to support XML namespaces, false otherwise.boolean isValidating()
void setValidating(boolean flag)
flag - true to validate documents, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||