|
|||||||||
| Home >> All >> org >> dom4j >> [ io overview ] | PREV NEXT | ||||||||
A
- ATTRIBUTE_DECL - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- activeHandlers() - Method in class org.dom4j.io.SAXModifyContentHandler
- addAttributes(Element, Attributes) - Method in class org.dom4j.io.SAXContentHandler
- Add all the attributes to the given elements
- addDTDDeclaration(Object) - Method in class org.dom4j.io.SAXContentHandler
- Adds an internal DTD declaration to the list of declarations
- addDeclaredNamespaces(Element) - Method in class org.dom4j.io.SAXContentHandler
- Add all namespaces declared before the startElement() SAX event to the current element so that they are available to child elements and attributes
- addExternalDTDDeclaration(Object) - Method in class org.dom4j.io.SAXContentHandler
- Adds an external DTD declaration to the list of declarations
- addHandler(String, ElementHandler) - Method in class org.dom4j.io.DispatchHandler
- Adds the
ElementHandlerto be called when the specified path is encounted. - addHandler(String, ElementHandler) - Method in class org.dom4j.io.ElementStack
- addHandler(String, ElementHandler) - Method in class org.dom4j.io.SAXReader
- Adds the
ElementHandlerto be called when the specified path is encounted. - addHandler(String, ElementHandler) - Method in class org.dom4j.io.XPP3Reader
- Adds the
ElementHandlerto be called when the specified path is encounted. - addHandler(String, ElementHandler) - Method in class org.dom4j.io.XPPReader
- Adds the
ElementHandlerto be called when the specified path is encounted. - addModifier(String, ElementModifier) - Method in class org.dom4j.io.SAXModifier
- Adds the ElementModifierto be called when the specified element path is encounted while parsing the source.
- addNamespaceAttribute(AttributesImpl, Namespace) - Method in class org.dom4j.io.SAXWriter
- If isDelcareNamespaceAttributes() is enabled then this method will add the given namespace declaration to the supplied attributes object, creating one if it does not exist.
- addParm(Object) - Method in class org.dom4j.io.SAXEventRecorder.SAXEvent
- appendDOMTree(Document, Node, List) - Method in class org.dom4j.io.DOMWriter
- appendDOMTree(Document, Node, Element) - Method in class org.dom4j.io.DOMWriter
- appendDOMTree(Document, Node, CDATA) - Method in class org.dom4j.io.DOMWriter
- appendDOMTree(Document, Node, Comment) - Method in class org.dom4j.io.DOMWriter
- appendDOMTree(Document, Node, String) - Method in class org.dom4j.io.DOMWriter
- appendDOMTree(Document, Node, Entity) - Method in class org.dom4j.io.DOMWriter
- appendDOMTree(Document, Node, ProcessingInstruction) - Method in class org.dom4j.io.DOMWriter
- assertSameDTDSubset(String, List, List) - Method in class org.dom4j.io.DTDTest
- Test helper method compares an expected set of DTD declarations with an actual set of DTD declarations.
- assertSameDecl(AttributeDecl, AttributeDecl) - Method in class org.dom4j.io.DTDTest
- Test helper method compares an expected and an actual org.dom4j.dtd.AttributeDecl.
- assertSameDecl(ElementDecl, ElementDecl) - Method in class org.dom4j.io.DTDTest
- Test helper method compares an expected and an actual org.dom4j.dtd.ElementDecl.
- assertSameDecl(InternalEntityDecl, InternalEntityDecl) - Method in class org.dom4j.io.DTDTest
- Test helper method compares an expected and an actual org.dom4j.dtd.InternalEntityDecl.
- assertSameDecl(ExternalEntityDecl, ExternalEntityDecl) - Method in class org.dom4j.io.DTDTest
- Test helper method compares an expected and an actual org.dom4j.dtd.ExternalEntityDecl.
- assertSameDocumentType(DocumentType, DocumentType) - Method in class org.dom4j.io.DTDTest
- Test helper method compares the expected and actual org.dom4j.DocumentType objects, including their internal and external DTD subsets.
- atRoot - Variable in class org.dom4j.io.DispatchHandler
- Whether the parser is at the root element or not
- attributeDecl(String, String, String, String, String) - Method in class org.dom4j.io.SAXContentHandler
- Report an attribute type declaration.
- attributeDecl(String, String, String, String, String) - Method in class org.dom4j.io.SAXEventRecorder
- attributeNameForNamespace(Namespace) - Method in class org.dom4j.io.DOMWriter
- attributeQuoteChar - Variable in class org.dom4j.io.OutputFormat
- Quote character to use when writing attributes.
- attributes - Variable in class org.dom4j.io.SAXWriter
AttributesImplused when generating the Attributes- autoFlush - Variable in class org.dom4j.io.XMLWriter
- Whether a flush should occur after writing a document
- availableNamespaceMap - Variable in class org.dom4j.io.SAXContentHandler
- namespaces that are available for use
B
C
- CHARACTERS - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- COMMENT - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- cdataText - Variable in class org.dom4j.io.SAXContentHandler
- buffer to hold contents of cdata section across multiple characters events
- characters(char[], int, int) - Method in class org.dom4j.io.SAXContentHandler
- characters(char[], int, int) - Method in class org.dom4j.io.SAXEventRecorder
- characters(char[], int, int) - Method in class org.dom4j.io.SAXModifyContentHandler
- characters(char[], int, int) - Method in class org.dom4j.io.XMLWriter
- charsAdded - Variable in class org.dom4j.io.XMLWriter
- whether we have added characters before from the same chunk of characters
- checkForNullHandlers() - Method in class org.dom4j.io.SAXWriter
- Ensures non-null content handlers?
- checkPath() - Method in class org.dom4j.io.PruningElementStack
- clear() - Method in class org.dom4j.io.ElementStack
- Peeks at the top element on the stack without changing the contents of the stack.
- clearNamespaceStack() - Method in class org.dom4j.io.DOMReader
- close() - Method in class org.dom4j.io.XMLWriter
- Closes the underlying Writer
- comment(char[], int, int) - Method in class org.dom4j.io.SAXContentHandler
- comment(char[], int, int) - Method in class org.dom4j.io.SAXEventRecorder
- comment(char[], int, int) - Method in class org.dom4j.io.SAXModifyContentHandler
- comment(char[], int, int) - Method in class org.dom4j.io.XMLWriter
- completeCurrentTextNode() - Method in class org.dom4j.io.SAXContentHandler
- If the current text buffer contains any text then create a new text node with it and add it to the current element
- configureReader(XMLReader, DefaultHandler) - Method in class org.dom4j.io.SAXReader
- Configures the XMLReader before use
- configureReader() - Method in class org.dom4j.io.SAXValidator
- Configures the XMLReader before use
- consumer - Variable in class org.dom4j.io.STAXEventWriter
- The event stream to which events are written.
- containsHandler(String) - Method in class org.dom4j.io.DispatchHandler
- DOCUMENT ME!
- containsHandler(String) - Method in class org.dom4j.io.ElementStack
- DOCUMENT ME!
- contentHandler - Variable in class org.dom4j.io.DocumentResult
- contentHandler - Variable in class org.dom4j.io.SAXWriter
ContentHandlerto which SAX events are raised- count - Variable in class org.dom4j.io.DispatchHandlerTest.MyHandler
- createAttribute(Element, QName, String) - Method in class org.dom4j.io.LDocumentFactory
- createAttribute(Element, Attribute) - Method in class org.dom4j.io.STAXEventReader
- Constructs a new DOM4J Attribute from the provided StAX Attribute event.
- createAttribute(Attribute) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.Attributeevent from a DOM4J org.dom4j.Attribute.
- createAttributes(Element, Attributes) - Method in class org.dom4j.io.SAXWriter
- createCharacterData(Characters) - Method in class org.dom4j.io.STAXEventReader
- Constructs a new DOM4J Text or CDATA object from the provided Characters event.
- createCharacters(Text) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.Charactersevent from a DOM4J org.dom4j.Text.
- createCharacters(CDATA) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.Charactersevent from a DOM4J org.dom4j.CDATA.
- createComment(Comment) - Method in class org.dom4j.io.STAXEventReader
- Constructs a new DOM4J Comment from the provided StAX Comment event.
- createComment(Comment) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.Commentevent from a DOM4J org.dom4j.Comment.
- createCompactFormat() - Static method in class org.dom4j.io.OutputFormat
- A static helper method to create the default compact format.
- createContentHandler(XMLReader) - Method in class org.dom4j.io.LNSAXReader
- createContentHandler(XMLReader) - Method in class org.dom4j.io.SAXModifyReader
- createContentHandler(XMLReader) - Method in class org.dom4j.io.SAXReader
- Factory Method to allow user derived SAXContentHandler objects to be used
- createDTD(DocumentType) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.DTDevent from a DOM4J org.dom4j.DocumentType.
- createDefaultEntityResolver(String) - Method in class org.dom4j.io.SAXReader
- createDocument() - Method in class org.dom4j.io.DOMReader
- createDocument(boolean, boolean) - Static method in class org.dom4j.io.JAXPHelper
- createDocument() - Method in class org.dom4j.io.SAXContentHandler
- DOCUMENT ME!
- createDomDocument(Document) - Method in class org.dom4j.io.DOMWriter
- createDomDocument(Document, DOMImplementation) - Method in class org.dom4j.io.DOMWriter
- createDomDocumentViaJAXP() - Method in class org.dom4j.io.DOMWriter
- createElement(QName) - Method in class org.dom4j.io.LDocumentFactory
- createElement(StartElement) - Method in class org.dom4j.io.STAXEventReader
- Constructs a new DOM4J Element from the provided StartElement event.
- createElementStack() - Method in class org.dom4j.io.SAXContentHandler
- createEndDocument(Document) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.EndDocumentevent from a DOM4J org.dom4j.Document.
- createEndElement(Element) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.EndElementevent from a DOM4J org.dom4j.Element.
- createEntity(EntityReference) - Method in class org.dom4j.io.STAXEventReader
- Constructs a new DOM4J Entity from the provided StAX EntityReference event.
- createEntityReference(Entity) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.EntityReferenceevent from a DOM4J org.dom4j.Entity.
- createNamespace(Namespace) - Method in class org.dom4j.io.STAXEventReader
- Constructs a new DOM4J Namespace from the provided StAX Namespace event.
- createNamespace(Namespace) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.Namespaceevent from a DOM4J org.dom4j.Namespace.
- createPrettyPrint() - Static method in class org.dom4j.io.OutputFormat
- A static helper method to create the default pretty printing format.
- createProcessingInstruction(ProcessingInstruction) - Method in class org.dom4j.io.STAXEventReader
- Constructs a new DOM4J ProcessingInstruction from the provided StAX ProcessingInstruction event.
- createProcessingInstruction(ProcessingInstruction) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.ProcessingInstruction event from a DOM4J javax.xml.stream.events.ProcessingInstruction.
- createQName(QName) - Method in class org.dom4j.io.STAXEventReader
- Constructs a new DOM4J QName from the provided JAXP QName.
- createQName(QName) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.namespace.QNamefrom a DOM4J org.dom4j.QName.
- createReader(InputStream) - Method in class org.dom4j.io.XPP3Reader
- Factory method to create a Reader from the given InputStream.
- createReader(InputStream) - Method in class org.dom4j.io.XPPReader
- Factory method to create a Reader from the given InputStream.
- createStartDocument(Document) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.StartDocumentevent from a DOM4J org.dom4j.Document.
- createStartElement(Element) - Method in class org.dom4j.io.STAXEventWriter
- Constructs a STAX javax.xml.stream.events.StartElementevent from a DOM4J org.dom4j.Element.
- createWriter(OutputStream, String) - Method in class org.dom4j.io.XMLWriter
- Get an OutputStreamWriter, use preferred encoding.
- createXMLReader(boolean, boolean) - Static method in class org.dom4j.io.JAXPHelper
- This method attempts to use JAXP to locate the SAX2 XMLReader implementation.
- createXMLReader(boolean) - Static method in class org.dom4j.io.SAXHelper
- Creats a default XMLReader via the org.xml.sax.driver system property or JAXP if the system property is not set.
- createXMLReader() - Method in class org.dom4j.io.SAXReader
- Factory Method to allow alternate methods of creating and configuring XMLReader objects
- createXMLReader() - Method in class org.dom4j.io.SAXValidator
- Factory Method to allow alternate methods of creating and configuring XMLReader objects
- createXMLReaderViaJAXP(boolean, boolean) - Static method in class org.dom4j.io.SAXHelper
- This method attempts to use JAXP to locate the SAX2 XMLReader implementation.
- currentElement - Variable in class org.dom4j.io.SAXContentHandler
- The current element we are on
D
- DEFAULT_DOM_DOCUMENT_CLASSES - Static variable in class org.dom4j.io.DOMWriter
- DEFAULT_FORMAT - Static variable in class org.dom4j.io.XMLWriter
- DEFAULT_HTML_FORMAT - Static variable in class org.dom4j.io.HTMLWriter
- DEFAULT_PREFORMATTED_TAGS - Static variable in class org.dom4j.io.HTMLWriter
- DOM4J_FEATURE - Static variable in class org.dom4j.io.DocumentSource
- If TransformerFactory.getFeature(java.lang.String)>
TransformerFactory.getFeature(java.lang.String)55 returnstruewhen passed this value as an argument then the Transformer natively supports dom4j . - DOMReader - class org.dom4j.io.DOMReader.
-
DOMReadernavigates a W3C DOM tree and creates a DOM4J tree from it. - DOMReader() - Constructor for class org.dom4j.io.DOMReader
- DOMReader(DocumentFactory) - Constructor for class org.dom4j.io.DOMReader
- DOMReaderTest - class org.dom4j.io.DOMReaderTest.
- DOCUMENT ME!
- DOMReaderTest() - Constructor for class org.dom4j.io.DOMReaderTest
- DOMWriter - class org.dom4j.io.DOMWriter.
-
DOMWritertakes a DOM4J tree and outputs it as a W3C DOM object - DOMWriter() - Constructor for class org.dom4j.io.DOMWriter
- DOMWriter(Class) - Constructor for class org.dom4j.io.DOMWriter
- DOMWriterTest - class org.dom4j.io.DOMWriterTest.
- DOCUMENT ME!
- DOMWriterTest() - Constructor for class org.dom4j.io.DOMWriterTest
- DTDTest - class org.dom4j.io.DTDTest.
- Tests the DocType functionality.
- DTDTest() - Constructor for class org.dom4j.io.DTDTest
- DTDTest.MyEntityResolver - class org.dom4j.io.DTDTest.MyEntityResolver.
- Provides a resolver for the local test DTD resource.
- DTDTest.MyEntityResolver(String, String, String) - Constructor for class org.dom4j.io.DTDTest.MyEntityResolver
- DTD_FILE - Static variable in class org.dom4j.io.DTDTest
- Input XML file to for
xml/dtd/sample.dtd- the external entity providing the external DTD subset for test cases that need one. - DTD_PUBLICID - Static variable in class org.dom4j.io.DTDTest
- The PUBLIC identifier, which is
-//dom4j//DTD sample, for the external entity providing DTD for tests. - DTD_SYSTEM_ID - Static variable in class org.dom4j.io.DTDTest
- The SYSTEM identifier, which is
sample.dtd, for the external entity providing DTD for tests. - DispatchHandler - class org.dom4j.io.DispatchHandler.
-
DispatchHandlerimplements theElementHandlerinterface and provides a means to register multipleElementHandlerinstances to be used by an event based processor. - DispatchHandler() - Constructor for class org.dom4j.io.DispatchHandler
- DispatchHandlerTest - class org.dom4j.io.DispatchHandlerTest.
- DOCUMENT ME!
- DispatchHandlerTest() - Constructor for class org.dom4j.io.DispatchHandlerTest
- DispatchHandlerTest.MyHandler - class org.dom4j.io.DispatchHandlerTest.MyHandler.
- DispatchHandlerTest.MyHandler() - Constructor for class org.dom4j.io.DispatchHandlerTest.MyHandler
- DocumentInputSource - class org.dom4j.io.DocumentInputSource.
-
DocumentInputSourceimplements a SAX org.xml.sax.InputSourcefor a org.dom4j.Document. - DocumentInputSource() - Constructor for class org.dom4j.io.DocumentInputSource
- DocumentInputSource(Document) - Constructor for class org.dom4j.io.DocumentInputSource
- DocumentResult - class org.dom4j.io.DocumentResult.
-
DocumentResultimplements a JAXP javax.xml.transform.sax.SAXResultfor a org.dom4j.Document. - DocumentResult() - Constructor for class org.dom4j.io.DocumentResult
- DocumentResult(SAXContentHandler) - Constructor for class org.dom4j.io.DocumentResult
- DocumentSource - class org.dom4j.io.DocumentSource.
-
DocumentSourceimplements a JAXP javax.xml.transform.sax.SAXSourcefor a . - DocumentSource(Node) - Constructor for class org.dom4j.io.DocumentSource
- Creates a JAXP javax.xml.transform.sax.SAXSourcefor the given org.dom4j.Node.
- DocumentSource(Document) - Constructor for class org.dom4j.io.DocumentSource
- Creates a JAXP javax.xml.transform.sax.SAXSourcefor the given org.dom4j.Document.
- DocumentSourceTest - class org.dom4j.io.DocumentSourceTest.
- DOCUMENT ME!
- DocumentSourceTest() - Constructor for class org.dom4j.io.DocumentSourceTest
- declareNamespaceAttributes - Variable in class org.dom4j.io.SAXWriter
- Whether namespace declarations are exported as attributes or not
- declaredNamespaceIndex - Variable in class org.dom4j.io.SAXContentHandler
- The number of namespaces that are declared in the current scope
- declaredNamespaceList - Variable in class org.dom4j.io.SAXContentHandler
- declared namespaces that are not yet available for use
- defaultHandler - Variable in class org.dom4j.io.DispatchHandler
ElementHandlerto use by default for element paths with no handlers registered- defaultMaximumAllowedCharacter() - Method in class org.dom4j.io.XMLWriter
- Returns the maximum allowed character code that should be allowed unescaped which defaults to 127 in US-ASCII (7 bit) or 255 in ISO- (8 bit).
- dispatchHandler - Variable in class org.dom4j.io.SAXReader
- DispatchHandler to call when each
Elementis encountered - dispatchHandler - Variable in class org.dom4j.io.XPP3Reader
- DispatchHandler to call when each
Elementis encountered - dispatchHandler - Variable in class org.dom4j.io.XPPReader
- DispatchHandler to call when each
Elementis encountered - doXHTML - Variable in class org.dom4j.io.OutputFormat
- Whether or not to use XHTML standard.
- document - Variable in class org.dom4j.io.DocumentInputSource
- The document source
- document - Variable in class org.dom4j.io.SAXContentHandler
- The document that is being built
- documentFactory - Variable in class org.dom4j.io.SAXContentHandler
- The factory used to create new
Documentinstances - documentLocator(Document) - Method in class org.dom4j.io.SAXWriter
- The org.xml.sax.Locatoris only really useful when parsing a textual document as its main purpose is to identify the line and column number.
- domDocumentClass - Variable in class org.dom4j.io.DOMWriter
- dtdHandler - Variable in class org.dom4j.io.SAXWriter
DTDHandlerfired when a document has a DTD- dtdHandler(Document) - Method in class org.dom4j.io.SAXWriter
- We do not yet support DTD or XML Schemas so this method does nothing right now.
E
- ELEMENT_DECL - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- EMPTY_STRING - Static variable in class org.dom4j.io.SAXEventRecorder
- END_CDATA - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- END_DOCUMENT - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- END_DTD - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- END_ELEMENT - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- END_ENTITY - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- END_PREFIX_MAPPING - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- EXTERNAL_ENTITY_DECL - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- ElementModifier - interface org.dom4j.io.ElementModifier.
- ElementModifier defines a modifier of org.dom4j.Elementobjects.
- ElementStack - class org.dom4j.io.ElementStack.
-
ElementStackis used internally inside the SAXContentHandler to maintain a stack of org.dom4j.Elementinstances. - ElementStack() - Constructor for class org.dom4j.io.ElementStack
- ElementStack(int) - Constructor for class org.dom4j.io.ElementStack
- elemModifier - Variable in class org.dom4j.io.SAXModifyElementHandler
- elementDecl(String, String) - Method in class org.dom4j.io.SAXContentHandler
- Report an element type declaration.
- elementDecl(String, String) - Method in class org.dom4j.io.SAXEventRecorder
- elementHandler - Variable in class org.dom4j.io.PruningElementStack
- ElementHandler to call when pruning occurs
- elementHandler - Variable in class org.dom4j.io.SAXContentHandler
- the
ElementHandlercalled as the elements are complete - elementStack - Variable in class org.dom4j.io.SAXContentHandler
- stack of
Elementobjects - encoding - Variable in class org.dom4j.io.OutputFormat
- The encoding format
- encoding - Variable in class org.dom4j.io.SAXReader
- Encoding of InputSource - null means system default encoding
- endCDATA() - Method in class org.dom4j.io.HTMLWriter
- endCDATA() - Method in class org.dom4j.io.SAXContentHandler
- endCDATA() - Method in class org.dom4j.io.SAXEventRecorder
- endCDATA() - Method in class org.dom4j.io.SAXModifyContentHandler
- endCDATA() - Method in class org.dom4j.io.XMLWriter
- endDTD() - Method in class org.dom4j.io.SAXContentHandler
- endDTD() - Method in class org.dom4j.io.SAXEventRecorder
- endDTD() - Method in class org.dom4j.io.SAXModifyContentHandler
- endDTD() - Method in class org.dom4j.io.XMLWriter
- endDocument() - Method in class org.dom4j.io.SAXContentHandler
- endDocument() - Method in class org.dom4j.io.SAXEventRecorder
- endDocument() - Method in class org.dom4j.io.SAXModifyContentHandler
- endDocument() - Method in class org.dom4j.io.SAXWriter
- endDocument() - Method in class org.dom4j.io.XMLWriter
- endElement(String, String, String) - Method in class org.dom4j.io.SAXContentHandler
- endElement(String, String, String) - Method in class org.dom4j.io.SAXEventRecorder
- endElement(String, String, String) - Method in class org.dom4j.io.SAXModifyContentHandler
- endElement(Element) - Method in class org.dom4j.io.SAXWriter
- endElement(String, String, String) - Method in class org.dom4j.io.XMLWriter
- endEntity(String) - Method in class org.dom4j.io.SAXContentHandler
- endEntity(String) - Method in class org.dom4j.io.SAXEventRecorder
- endEntity(String) - Method in class org.dom4j.io.SAXModifyContentHandler
- endEntity(String) - Method in class org.dom4j.io.XMLWriter
- endPrefixMapping(String) - Method in class org.dom4j.io.SAXContentHandler
- endPrefixMapping(String) - Method in class org.dom4j.io.SAXEventRecorder
- endPrefixMapping(String) - Method in class org.dom4j.io.SAXModifyContentHandler
- endPrefixMapping(NamespaceStack, int) - Method in class org.dom4j.io.SAXWriter
- Fires a SAX endPrefixMapping event for all the namespaceStack which have gone out of scope
- endPrefixMapping(String) - Method in class org.dom4j.io.XMLWriter
- entity - Variable in class org.dom4j.io.SAXContentHandler
- The name of the current entity
- entityLevel - Variable in class org.dom4j.io.SAXContentHandler
- The number of levels deep we are inside a startEntity/endEntity call
- entityResolver - Variable in class org.dom4j.io.SAXContentHandler
- The entity resolver
- entityResolver - Variable in class org.dom4j.io.SAXReader
- The entity resolver
- entityResolver - Variable in class org.dom4j.io.SAXWriter
EntityResolverfired when a document has a DTD- entityResolver(Document) - Method in class org.dom4j.io.SAXWriter
- error(SAXParseException) - Method in class org.dom4j.io.SAXContentHandler
- This method is called when an error is detected during parsing such as a validation error.
- errorHandler - Variable in class org.dom4j.io.SAXReader
- ErrorHandler class to use
- errorHandler - Variable in class org.dom4j.io.SAXValidator
- ErrorHandler class to use
- errorHandler - Variable in class org.dom4j.io.SAXWriter
- escapeAttributeEntities(String) - Method in class org.dom4j.io.XMLWriter
- This will take the pre-defined entities in XML 1.0 and convert their character representation to the appropriate entity reference, suitable for XML attributes.
- escapeElementEntities(String) - Method in class org.dom4j.io.XMLWriter
- This will take the pre-defined entities in XML 1.0 and convert their character representation to the appropriate entity reference, suitable for XML attributes.
- escapeText - Variable in class org.dom4j.io.XMLWriter
- whether we should escape text
- event - Variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- events - Variable in class org.dom4j.io.SAXEventRecorder
- expandEmptyElements - Variable in class org.dom4j.io.OutputFormat
- Whether or not to expand empty elements to
<tagName></tagName> - default is
false - externalDTDDeclarations - Variable in class org.dom4j.io.SAXContentHandler
- external DTD declarations
- externalEntityDecl(String, String, String) - Method in class org.dom4j.io.SAXContentHandler
- Report a parsed external entity declaration.
- externalEntityDecl(String, String, String) - Method in class org.dom4j.io.SAXEventRecorder
F
- FEATURE_NAMESPACES - Static variable in class org.dom4j.io.SAXWriter
- FEATURE_NAMESPACE_PREFIXES - Static variable in class org.dom4j.io.SAXWriter
- factory - Variable in class org.dom4j.io.DOMReader
DocumentFactoryused to create new document objects- factory - Variable in class org.dom4j.io.SAXReader
DocumentFactoryused to create new document objects- factory - Variable in class org.dom4j.io.STAXEventReader
- Reference to the DocumentFactory used to build DOM4J nodes.
- factory - Variable in class org.dom4j.io.STAXEventWriter
- The event factory used to construct events.
- factory - Variable in class org.dom4j.io.XPP3Reader
DocumentFactoryused to create new document objects- factory - Variable in class org.dom4j.io.XPPReader
DocumentFactoryused to create new document objects- fatalError(SAXParseException) - Method in class org.dom4j.io.SAXContentHandler
- This method is called when a fatal error occurs during parsing.
- features - Variable in class org.dom4j.io.SAXWriter
- Stores the features
- flush() - Method in class org.dom4j.io.XMLWriter
- Flushes the underlying Writer
- format - Variable in class org.dom4j.io.XMLWriter
- The format used by this writer
- formatStack - Variable in class org.dom4j.io.HTMLWriter
G
- getActiveHandlerCount() - Method in class org.dom4j.io.DispatchHandler
- Returns the number of org.dom4j.ElementHandlerobjects that are waiting for their elements closing tag.
- getAttributeQuoteCharacter() - Method in class org.dom4j.io.OutputFormat
- getCharacterStream() - Method in class org.dom4j.io.DocumentInputSource
- Note this method is quite inefficent, it turns the in memory XML tree object model into a single block of text which can then be read by other XML parsers.
- getConsumer() - Method in class org.dom4j.io.STAXEventWriter
- Returns a reference to the underlying event consumer to which events are written.
- getContentHandler() - Method in class org.dom4j.io.SAXWriter
- DOCUMENT ME!
- getCount() - Method in class org.dom4j.io.DispatchHandlerTest.MyHandler
- getCurrent() - Method in class org.dom4j.io.ElementStack
- getDTDHandler() - Method in class org.dom4j.io.SAXWriter
- DOCUMENT ME!
- getDispatchHandler() - Method in class org.dom4j.io.ElementStack
- getDispatchHandler() - Method in class org.dom4j.io.SAXReader
- getDispatchHandler() - Method in class org.dom4j.io.XPP3Reader
- getDispatchHandler() - Method in class org.dom4j.io.XPPReader
- getDocument() - Method in class org.dom4j.io.DocumentInputSource
- DOCUMENT ME!
- getDocument() - Method in class org.dom4j.io.DocumentResult
- DOCUMENT ME!
- getDocument() - Method in class org.dom4j.io.DocumentSource
- DOCUMENT ME!
- getDocument() - Method in class org.dom4j.io.SAXContentHandler
- DOCUMENT ME!
- getDocumentFactory() - Method in class org.dom4j.io.DOMReader
- DOCUMENT ME!
- getDocumentFactory() - Method in class org.dom4j.io.SAXModifier
- Get the org.dom4j.DocumentFactoryused to create the DOM4J document structure
- getDocumentFactory() - Method in class org.dom4j.io.SAXReader
- DOCUMENT ME!
- getDocumentFactory() - Method in class org.dom4j.io.XPP3Reader
- DOCUMENT ME!
- getDocumentFactory() - Method in class org.dom4j.io.XPPReader
- DOCUMENT ME!
- getDomDocumentClass() - Method in class org.dom4j.io.DOMWriter
- getElement(int) - Method in class org.dom4j.io.ElementStack
- getElementStack() - Method in class org.dom4j.io.SAXContentHandler
- getEncoding() - Method in class org.dom4j.io.OutputFormat
- getEncoding() - Method in class org.dom4j.io.SAXContentHandler
- getEncoding() - Method in class org.dom4j.io.SAXReader
- Returns encoding used for InputSource (null means system default encoding)
- getEntityResolver() - Method in class org.dom4j.io.SAXContentHandler
- getEntityResolver() - Method in class org.dom4j.io.SAXReader
- Returns the current entity resolver used to resolve entities
- getEntityResolver() - Method in class org.dom4j.io.SAXWriter
- DOCUMENT ME!
- getErrorHandler() - Method in class org.dom4j.io.SAXReader
- DOCUMENT ME!
- getErrorHandler() - Method in class org.dom4j.io.SAXValidator
- DOCUMENT ME!
- getErrorHandler() - Method in class org.dom4j.io.SAXWriter
- DOCUMENT ME!
- getEventFactory() - Method in class org.dom4j.io.STAXEventWriter
- Returns a reference to the event factory used to construct STAX events.
- getExternalDeclarations() - Method in class org.dom4j.io.DTDTest
- Test helper method returns a java.util.Listof DTD declarations that represents the expected external DTD subset (for the tests that use an external DTD subset).
- getFeature(String) - Method in class org.dom4j.io.SAXWriter
- Looks up the value of a feature.
- getHandler(String) - Method in class org.dom4j.io.DispatchHandler
- Get the registered org.dom4j.ElementHandlerfor the specified path.
- getHandler() - Method in class org.dom4j.io.XMLResult
- getHandlerPath(String) - Method in class org.dom4j.io.ElementStack
- getIndent() - Method in class org.dom4j.io.HTMLWriter.FormatState
- getIndent() - Method in class org.dom4j.io.OutputFormat
- getInputSource() - Method in class org.dom4j.io.SAXContentHandler
- getInputStream(String) - Method in class org.dom4j.io.DTDTest.MyEntityResolver
- Returns an java.io.InputStreamthat will read from the indicated local resource.
- getInstance() - Static method in class org.dom4j.io.LDocumentFactory
- Access to the singleton instance of this factory.
- getInternalDeclarations() - Method in class org.dom4j.io.DTDTest
- Test helper method returns a java.util.Listof DTD declarations that represents the expected internal DTD subset (for the tests that use an internal DTD subset).
- getLexicalHandler() - Method in class org.dom4j.io.SAXWriter
- DOCUMENT ME!
- getLexicalHandler() - Method in class org.dom4j.io.XMLResult
- getLexicalHandler() - Method in class org.dom4j.io.XMLWriter
- getLineSeparator() - Method in class org.dom4j.io.OutputFormat
- getMaximumAllowedCharacter() - Method in class org.dom4j.io.XMLWriter
- Returns the maximum allowed character code that should be allowed unescaped which defaults to 127 in US-ASCII (7 bit) or 255 in ISO- (8 bit).
- getModifiedElement() - Method in class org.dom4j.io.SAXModifyElementHandler
- DOCUMENT ME!
- getNamespace(String, String) - Method in class org.dom4j.io.DOMReader
- getNewLineAfterNTags() - Method in class org.dom4j.io.OutputFormat
- getOmitElementCloseSet() - Method in class org.dom4j.io.HTMLWriter
- A clone of the Set of elements that can have their close-tags omitted.
- getOutputFormat() - Method in class org.dom4j.io.XMLWriter
- Lets subclasses get at the current format object, so they can call setTrimText, setNewLines, etc.
- getParm(int) - Method in class org.dom4j.io.SAXEventRecorder.SAXEvent
- getPath() - Method in class org.dom4j.io.DispatchHandler
- DOCUMENT ME!
- getPath() - Method in class org.dom4j.io.ElementStack
- getPrefix(String) - Method in class org.dom4j.io.DOMReader
- getPreformattedTags() - Method in class org.dom4j.io.HTMLWriter
- getProperty(String) - Method in class org.dom4j.io.SAXWriter
- Gets the given SAX property
- getProperty(String) - Method in class org.dom4j.io.XMLWriter
- getSAXModifyReader() - Method in class org.dom4j.io.SAXModifier
- getXMLFilter() - Method in class org.dom4j.io.SAXReader
- Returns the SAX filter being used to filter SAX events.
- getXMLReader() - Method in class org.dom4j.io.DocumentSource
- DOCUMENT ME!
- getXMLReader() - Method in class org.dom4j.io.SAXModifier
- getXMLReader() - Method in class org.dom4j.io.SAXReader
- DOCUMENT ME!
- getXMLReader() - Method in class org.dom4j.io.SAXValidator
- DOCUMENT ME!
- getXMLWriter() - Method in class org.dom4j.io.SAXModifier
- Returns the current XMLWriter.
- getXMLWriter() - Method in class org.dom4j.io.SAXModifyContentHandler
- getXMLWriter() - Method in class org.dom4j.io.SAXModifyReader
- getXMLWriter() - Method in class org.dom4j.io.XMLResult
- getXPPFactory() - Method in class org.dom4j.io.XPP3Reader
- getXPPFactory() - Method in class org.dom4j.io.XPPReader
- getXPPParser() - Method in class org.dom4j.io.XPP3Reader
- getXPPParser() - Method in class org.dom4j.io.XPPReader
H
- HTMLWriter - class org.dom4j.io.HTMLWriter.
-
HTMLWritertakes a DOM4J tree and formats it to a stream as HTML. - HTMLWriter(Writer) - Constructor for class org.dom4j.io.HTMLWriter
- HTMLWriter(Writer, OutputFormat) - Constructor for class org.dom4j.io.HTMLWriter
- HTMLWriter() - Constructor for class org.dom4j.io.HTMLWriter
- HTMLWriter(OutputFormat) - Constructor for class org.dom4j.io.HTMLWriter
- HTMLWriter(OutputStream) - Constructor for class org.dom4j.io.HTMLWriter
- HTMLWriter(OutputStream, OutputFormat) - Constructor for class org.dom4j.io.HTMLWriter
- HTMLWriter.FormatState - class org.dom4j.io.HTMLWriter.FormatState.
- HTMLWriter.FormatState(boolean, boolean, String) - Constructor for class org.dom4j.io.HTMLWriter.FormatState
- handleException(IOException) - Method in class org.dom4j.io.XMLWriter
- handler - Variable in class org.dom4j.io.ElementStack
- handlerStack - Variable in class org.dom4j.io.DispatchHandler
- maintains a stack of previously encountered handlers
- handlers - Variable in class org.dom4j.io.DispatchHandler
HashMapmaintains the mapping between element paths and handlers- hasNext() - Method in class org.dom4j.io.STAXEventWriter.AttributeIterator
- hasNext() - Method in class org.dom4j.io.STAXEventWriter.NamespaceIterator
I
- INTERNAL_ENTITY_DECL - Static variable in class org.dom4j.io.SAXEventRecorder.SAXEvent
- ignorableWhitespace(char[], int, int) - Method in class org.dom4j.io.SAXModifyContentHandler
- ignorableWhitespace(char[], int, int) - Method in class org.dom4j.io.XMLWriter
- ignoreComments - Variable in class org.dom4j.io.SAXContentHandler
- Should we ignore comments
- ignoreComments - Variable in class org.dom4j.io.SAXReader
- Should we ignore comments
- inDTD - Variable in class org.dom4j.io.XMLWriter
- Is the writer curerntly inside a DTD definition?
- includeExternalDTDDeclarations - Variable in class org.dom4j.io.SAXContentHandler
- Should external DTD declarations be expanded into a List in the DTD
- includeExternalDTDDeclarations - Variable in class org.dom4j.io.SAXReader
- Should external DTD declarations be expanded into a List in the DTD
- includeInternalDTDDeclarations - Variable in class org.dom4j.io.SAXContentHandler
- Should internal DTD declarations be expanded into a List in the DTD
- includeInternalDTDDeclarations - Variable in class org.dom4j.io.SAXReader
- Should internal DTD declarations be expanded into a List in the DTD
- indent - Variable in class org.dom4j.io.HTMLWriter.FormatState
- indent - Variable in class org.dom4j.io.OutputFormat
- The default indent is no spaces (as original document)
- indent() - Method in class org.dom4j.io.XMLWriter
- indentLevel - Variable in class org.dom4j.io.XMLWriter
- The initial number of indentations (so you can print a whole document indented, if you like)
- inputFactory - Variable in class org.dom4j.io.STAXEventReader
- A StAX input factory, used to construct streams from IO streams.
- inputSource - Variable in class org.dom4j.io.SAXContentHandler
- inputText - Variable in class org.dom4j.io.WriteUnmergedTextTest
- insideCDATASection - Variable in class org.dom4j.io.SAXContentHandler
- Flag used to indicate that we are inside a CDATA section
- insideDTDSection - Variable in class org.dom4j.io.SAXContentHandler
- Flag used to indicate that we are inside a DTD section
- installLexicalHandler() - Method in class org.dom4j.io.XMLWriter
- installModifyReader() - Method in class org.dom4j.io.SAXModifier
- installXMLFilter(XMLReader) - Method in class org.dom4j.io.SAXReader
- Installs any XMLFilter objects required to allow the SAX event stream to be filtered and preprocessed before it gets to dom4j.
- internalDTDDeclarations - Variable in class org.dom4j.io.SAXContentHandler
- internal DTD declarations
- internalDTDsubset - Variable in class org.dom4j.io.SAXContentHandler
- Are we in an internal DTD subset?
- internalEntityDecl(String, String) - Method in class org.dom4j.io.SAXContentHandler
- Report an internal entity declaration.
- internalEntityDecl(String, String) - Method in class org.dom4j.io.SAXEventRecorder
- internalGetOmitElementCloseSet() - Method in class org.dom4j.io.HTMLWriter
- isDeclareNamespaceAttributes() - Method in class org.dom4j.io.SAXWriter
- Should namespace declarations be converted to "xmlns" attributes.
- isElementSpacePreserved(Element) - Method in class org.dom4j.io.XMLWriter
- Determines if element is a special case of XML elements where it contains an xml:space attribute of "preserve".
- isEscapeText() - Method in class org.dom4j.io.XMLWriter
- DOCUMENT ME!
- isExpandEmptyElements() - Method in class org.dom4j.io.OutputFormat
- isExpandEmptyElements() - Method in class org.dom4j.io.XMLWriter
- isIgnorableEntity(String) - Method in class org.dom4j.io.SAXContentHandler
- a Strategy Method to determine if a given entity name is ignorable
- isIgnoreComments() - Method in class org.dom4j.io.SAXContentHandler
- Returns whether we should ignore comments or not.
- isIgnoreComments() - Method in class org.dom4j.io.SAXReader
- Returns whether we should ignore comments or not.
- isIgnoreableNamespace(Namespace, NamespaceStack) - Method in class org.dom4j.io.SAXWriter
- DOCUMENT ME!
- isIncludeExternalDTDDeclarations() - Method in class org.dom4j.io.SAXContentHandler
- DOCUMENT ME!
- isIncludeExternalDTDDeclarations() - Method in class org.dom4j.io.SAXReader
- DOCUMENT ME!
- isIncludeInternalDTDDeclarations() - Method in class org.dom4j.io.SAXContentHandler
- DOCUMENT ME!
- isIncludeInternalDTDDeclarations() - Method in class org.dom4j.io.SAXReader
- DOCUMENT ME!
- isMergeAdjacentText() - Method in class org.dom4j.io.SAXContentHandler
- Returns whether adjacent text nodes should be merged together.
- isMergeAdjacentText() - Method in class org.dom4j.io.SAXReader
- Returns whether adjacent text nodes should be merged together.
- isNamespaceDeclaration(Namespace) - Method in class org.dom4j.io.DOMWriter
- isNamespaceDeclaration(Namespace) - Method in class org.dom4j.io.XMLWriter
- isNewLineAfterDeclaration() - Method in class org.dom4j.io.OutputFormat
- DOCUMENT ME!
- isNewlines() - Method in class org.dom4j.io.HTMLWriter.FormatState
- isNewlines() - Method in class org.dom4j.io.OutputFormat
- isOmitEncoding() - Method in class org.dom4j.io.OutputFormat
- isPadText() - Method in class org.dom4j.io.OutputFormat
- isPreformattedTag(String) - Method in class org.dom4j.io.HTMLWriter
- DOCUMENT ME!
- isPruneElements() - Method in class org.dom4j.io.SAXModifier
- Returns true when xml elements are not kept in memory while parsing.
- isPruneElements() - Method in class org.dom4j.io.SAXModifyReader
- isStringInternEnabled() - Method in class org.dom4j.io.SAXReader
- Sets whether String interning is enabled or disabled for element & attribute names and namespace URIs.
- isStripWhitespaceText() - Method in class org.dom4j.io.SAXContentHandler
- Sets whether whitespace between element start and end tags should be ignored
- isStripWhitespaceText() - Method in class org.dom4j.io.SAXReader
- Sets whether whitespace between element start and end tags should be ignored
- isSuppressDeclaration() - Method in class org.dom4j.io.OutputFormat
- DOCUMENT ME!
- isTrimText() - Method in class org.dom4j.io.HTMLWriter.FormatState
- isTrimText() - Method in class org.dom4j.io.OutputFormat
- isValidating() - Method in class org.dom4j.io.SAXReader
- DOCUMENT ME!
- isVerboseErrorReporting() - Static method in class org.dom4j.io.SAXHelper
- isXHTML() - Method in class org.dom4j.io.OutputFormat
- Whether or not to use the XHTML standard: like HTML but passes an XML parser with real, closed tags.
- iter - Variable in class org.dom4j.io.STAXEventWriter.AttributeIterator
- The underlying DOm4J attribute iterator.
- iter - Variable in class org.dom4j.io.STAXEventWriter.NamespaceIterator
J
- JAXPHelper - class org.dom4j.io.JAXPHelper.
JAXPHelpercontains some helper methods for working with JAXP.- JAXPHelper() - Constructor for class org.dom4j.io.JAXPHelper
- justSpaces(String) - Method in class org.dom4j.io.HTMLWriter
L
- LDocumentFactory - class org.dom4j.io.LDocumentFactory.
- LDocumentFactory() - Constructor for class org.dom4j.io.LDocumentFactory
- LEXICAL_HANDLER_NAMES - Static variable in class org.dom4j.io.SAXWriter
- LEXICAL_HANDLER_NAMES - Static variable in class org.dom4j.io.XMLWriter
- LNSAXContentHandler - class org.dom4j.io.LNSAXContentHandler.
- LNSAXContentHandler() - Constructor for class org.dom4j.io.LNSAXContentHandler
- LNSAXContentHandler(DocumentFactory) - Constructor for class org.dom4j.io.LNSAXContentHandler
- LNSAXContentHandler(DocumentFactory, ElementHandler) - Constructor for class org.dom4j.io.LNSAXContentHandler
- LNSAXReader - class org.dom4j.io.LNSAXReader.
- LNSAXReader() - Constructor for class org.dom4j.io.LNSAXReader
- LNSAXReader(boolean) - Constructor for class org.dom4j.io.LNSAXReader
- LNSAXReader(XMLReader) - Constructor for class org.dom4j.io.LNSAXReader
- LNSAXReader(XMLReader, boolean) - Constructor for class org.dom4j.io.LNSAXReader
- LNSAXReader(String) - Constructor for class org.dom4j.io.LNSAXReader
- LNSAXReader(String, boolean) - Constructor for class org.dom4j.io.LNSAXReader
- lastChar - Variable in class org.dom4j.io.XMLWriter
- lastElementClosed - Variable in class org.dom4j.io.XMLWriter
- Stores if the last written element node was a closing tag or an opening tag.
- lastElementIndex - Variable in class org.dom4j.io.ElementStack
- index of the item at the top of the stack or -1 if the stack is empty
- lastOutputNodeType - Variable in class org.dom4j.io.XMLWriter
- Stores the last type of node written so algorithms can refer to the previous node type
- lastText - Variable in class org.dom4j.io.HTMLWriter
- lazyInitNewLinesAfterNTags() - Method in class org.dom4j.io.HTMLWriter
- lexicalHandler - Variable in class org.dom4j.io.SAXWriter
LexicalHandlerfired on Entity and CDATA sections- lexicalHandler - Variable in class org.dom4j.io.XMLWriter
- Lexical handler we should delegate to
- lineSeparator - Static variable in class org.dom4j.io.HTMLWriter
- lineSeparator - Variable in class org.dom4j.io.OutputFormat
- New line separator