Uses of Interface
org.dom4j.Document
-
Packages that use Document Package Description org.apache.directory.api.dsmlv2 org.dom4j Defines the XML Document Object Model in Java interfaces together with some helper classes.org.dom4j.datatype An implementation of the dom4j API which supports the XML Schema Data Types specification.org.dom4j.dom An implementation of the dom4j API which also supports the W3C object model.org.dom4j.io Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.org.dom4j.jaxb org.dom4j.rule org.dom4j.swing A collection of adapters to allow easy integration with dom4j XML documents and Swing such as TreeModels and TableModels.org.dom4j.tree Contains the default implementations of the dom4j Document Object Model together with some helpful base classes for those wishing to implement their own document object model.org.dom4j.util A collection of utility classes for the dom4j API. -
-
Uses of Document in org.apache.directory.api.dsmlv2
Methods in org.apache.directory.api.dsmlv2 that return Document Modifier and Type Method Description static DocumentParserUtils. styleDocument(Document document)XML Pretty Printer XSLT TransformationMethods in org.apache.directory.api.dsmlv2 with parameters of type Document Modifier and Type Method Description static DocumentParserUtils. styleDocument(Document document)XML Pretty Printer XSLT Transformation -
Uses of Document in org.dom4j
Methods in org.dom4j that return Document Modifier and Type Method Description DocumentDocument. addComment(String comment)Adds a newCommentnode with the given text to this branch.DocumentDocument. addDocType(String name, String publicId, String systemId)Adds a DOCTYPE declaration to this documentDocumentDocument. addProcessingInstruction(String target, String text)Adds a processing instruction for the given targetDocumentDocument. addProcessingInstruction(String target, Map<String,String> data)Adds a processing instruction for the given targetDocumentDocumentFactory. createDocument()DocumentDocumentFactory. createDocument(String encoding)DOCUMENT ME!DocumentDocumentFactory. createDocument(Element rootElement)static DocumentDocumentHelper. createDocument()static DocumentDocumentHelper. createDocument(Element rootElement)DocumentNode. getDocument()getDocumentreturns theDocumentthat thisNodeis part of if this node supports the parent relationship.static DocumentDocumentHelper. parseText(String text)parseTextparses the given text as an XML document and returns the newly created Document.Methods in org.dom4j with parameters of type Document Modifier and Type Method Description voidNode. setDocument(Document document)setDocumentsets the document of this node if the parent relationship is supported or does nothing if the parent relationship is not supported.voidVisitor. visit(Document document)Visits the givenDocumentvoidVisitorSupport. visit(Document document) -
Uses of Document in org.dom4j.datatype
Methods in org.dom4j.datatype with parameters of type Document Modifier and Type Method Description voidSchemaParser. build(Document schemaDocument)Parses the given schema documentvoidSchemaParser. build(Document schemaDocument, Namespace namespace)voidDatatypeDocumentFactory. loadSchema(Document schemaDocument)Loads the given XML Schema document into this factory so schema-aware Document, Elements and Attributes will be created by this factory.protected voidDatatypeDocumentFactory. loadSchema(Document document, String schemaInstanceURI)protected voidDatatypeDocumentFactory. loadSchema(Document document, String schemaInstanceURI, Namespace namespace)voidDatatypeDocumentFactory. loadSchema(Document schemaDocument, Namespace targetNamespace) -
Uses of Document in org.dom4j.dom
Classes in org.dom4j.dom that implement Document Modifier and Type Class Description classDOMDocumentDOMDocumentimplements an XML document which supports the W3C DOM API.Methods in org.dom4j.dom that return Document Modifier and Type Method Description DocumentDOMDocumentFactory. createDocument()Methods in org.dom4j.dom with parameters of type Document Modifier and Type Method Description static DocumentDOMNodeHelper. asDOMDocument(Document document) -
Uses of Document in org.dom4j.io
Methods in org.dom4j.io that return Document Modifier and Type Method Description protected DocumentDOMReader. createDocument()protected DocumentDOMSAXContentHandler. createDocument()protected DocumentSAXContentHandler. createDocument()DOCUMENT ME!DocumentDocumentInputSource. getDocument()DOCUMENT ME!DocumentDocumentResult. getDocument()DOCUMENT ME!DocumentDocumentSource. getDocument()DOCUMENT ME!DocumentSAXContentHandler. getDocument()DOCUMENT ME!DocumentSAXModifier. modify(File source)DocumentSAXModifier. modify(InputStream source)Reads a Document from the givenInputStreamand writes it to the specifiedXMLWriterusing SAX.DocumentSAXModifier. modify(InputStream source, String systemId)Reads a Document from the givenInputStreamand writes it to the specifiedXMLWriterusing SAX.DocumentSAXModifier. modify(Reader source)DocumentSAXModifier. modify(Reader source, String systemId)DocumentSAXModifier. modify(String source)Reads a Document from the given URL or filename and writes it to the specifiedXMLWriterusing SAX.DocumentSAXModifier. modify(URL source)DocumentSAXModifier. modify(InputSource source)Reads a Document from the givenInputSourceand writes it to the specifiedXMLWriterusing SAX.protected DocumentXPP3Reader. parseDocument()protected DocumentXPPReader. parseDocument()DocumentDOMReader. read(Document domDocument)DocumentSAXReader. read(File file)Reads a Document from the givenFileDocumentSAXReader. read(InputStream in)Reads a Document from the given stream using SAXDocumentSAXReader. read(InputStream in, String systemId)Reads a Document from the given stream using SAXDocumentSAXReader. read(Reader reader)Reads a Document from the givenReaderusing SAXDocumentSAXReader. read(Reader reader, String systemId)Reads a Document from the givenReaderusing SAXDocumentSAXReader. read(String systemId)Reads a Document from the given URL or filename using SAX.DocumentSAXReader. read(URL url)Reads a Document from the givenURLusing SAXDocumentSAXReader. read(InputSource in)Reads a Document from the givenInputSourceusing SAXDocumentXPP3Reader. read(char[] text)Reads a Document from the given array of charactersDocumentXPP3Reader. read(File file)Reads a Document from the givenFileDocumentXPP3Reader. read(InputStream in)Reads a Document from the given streamDocumentXPP3Reader. read(InputStream in, String systemID)Reads a Document from the given streamDocumentXPP3Reader. read(Reader reader)Reads a Document from the givenReaderDocumentXPP3Reader. read(Reader reader, String systemID)Reads a Document from the givenReaderDocumentXPP3Reader. read(String systemID)Reads a Document from the given URL or filename.DocumentXPP3Reader. read(URL url)Reads a Document from the givenURLDocumentXPPReader. read(char[] text)Reads a Document from the given array of charactersDocumentXPPReader. read(File file)Reads a Document from the givenFileDocumentXPPReader. read(InputStream in)Reads a Document from the given streamDocumentXPPReader. read(InputStream in, String systemID)Reads a Document from the given streamDocumentXPPReader. read(Reader reader)Reads a Document from the givenReaderDocumentXPPReader. read(Reader reader, String systemID)Reads a Document from the givenReaderDocumentXPPReader. read(String systemID)Reads a Document from the given URL or filename.DocumentXPPReader. read(URL url)Reads a Document from the givenURLDocumentSTAXEventReader. readDocument(InputStream is)Constructs a StAX event stream from the provided I/O stream and reads a DOM4J document from it.DocumentSTAXEventReader. readDocument(InputStream is, String systemId)Constructs a StAX event stream from the provided I/O stream and reads a DOM4J document from it.DocumentSTAXEventReader. readDocument(Reader reader)Constructs a StAX event stream from the provided I/O character stream and reads a DOM4J document from it.DocumentSTAXEventReader. readDocument(Reader reader, String systemId)Constructs a StAX event stream from the provided I/O character stream and reads a DOM4J document from it.DocumentSTAXEventReader. readDocument(XMLEventReader reader)Reads a DOM4JDocumentfrom the provided stream.Methods in org.dom4j.io with parameters of type Document Modifier and Type Method Description protected DocumentDOMWriter. createDomDocument(Document document)protected DocumentDOMWriter. createDomDocument(Document document, DOMImplementation domImpl)EndDocumentSTAXEventWriter. createEndDocument(Document doc)Constructs a STAXEndDocumentevent from a DOM4JDocument.StartDocumentSTAXEventWriter. createStartDocument(Document doc)Constructs a STAXStartDocumentevent from a DOM4JDocument.protected voidSAXWriter. documentLocator(Document document)TheLocatoris only really useful when parsing a textual document as its main purpose is to identify the line and column number.protected voidSAXWriter. dtdHandler(Document document)We do not yet support DTD or XML Schemas so this method does nothing right now.protected voidSAXWriter. entityResolver(Document document)voidDocumentInputSource. setDocument(Document document)Sets the document used as the SAXInputSourcevoidDocumentSource. setDocument(Document document)Sets the document used as the JAXPSAXSourcevoidSAXValidator. validate(Document document)Validates the givenDocumentby writing it to a validating SAX Parser.DocumentDOMWriter. write(Document document)DocumentDOMWriter. write(Document document, DOMImplementation domImpl)voidSAXWriter. write(Document document)Generates SAX events for the given Document and all its contentvoidXMLWriter. write(Document doc)This will print theDocumentto the current Writer.voidSTAXEventWriter. writeDocument(Document doc)Writes a DOM4JDocumentnode, and all its contents, to the stream.Constructors in org.dom4j.io with parameters of type Document Constructor Description DocumentInputSource(Document document)DocumentSource(Document document) -
Uses of Document in org.dom4j.jaxb
Methods in org.dom4j.jaxb that return Document Modifier and Type Method Description DocumentJAXBModifier. modify(File source)Parses the specifiedFilewith SAXDocumentJAXBModifier. modify(File source, Charset charset)DocumentJAXBModifier. modify(InputStream source)Parses the specifiedInputStreamwith SAX.DocumentJAXBModifier. modify(InputStream source, String systemId)Parses the specifiedInputStreamwith SAX.DocumentJAXBModifier. modify(Reader r)Parses the specifiedReaderwith SAX.DocumentJAXBModifier. modify(Reader source, String systemId)Parses the specifiedReaderwith SAX.DocumentJAXBModifier. modify(String url)Parses the the given URL or filename.DocumentJAXBModifier. modify(URL source)Parses the the given URL.DocumentJAXBModifier. modify(InputSource source)Parses the specifiedInputSourcewith SAX.DocumentJAXBReader. read(File source)Parses the specifiedFileDocumentJAXBReader. read(File file, Charset charset)DocumentJAXBReader. read(InputStream source)Parses the specifiedInputStreamDocumentJAXBReader. read(InputStream source, String systemId)Parses the specifiedInputStreamDocumentJAXBReader. read(Reader source)Parses the specifiedReaderDocumentJAXBReader. read(Reader source, String systemId)Parses the specifiedReaderDocumentJAXBReader. read(String source)Parses the the given URL or filename.DocumentJAXBReader. read(URL source)Parses the the given URL.DocumentJAXBReader. read(InputSource source)Parses the specifiedInputSource -
Uses of Document in org.dom4j.rule
Methods in org.dom4j.rule with parameters of type Document Modifier and Type Method Description voidMode. applyTemplates(Document document)voidStylesheet. applyTemplates(Document document)If input is aNode, this will processes all of the children of that node.voidStylesheet. applyTemplates(Document document, String mode)Processes the input object in the given mode. -
Uses of Document in org.dom4j.swing
Fields in org.dom4j.swing declared as Document Modifier and Type Field Description protected DocumentDocumentTreeModel. documentThe document for this modelMethods in org.dom4j.swing that return Document Modifier and Type Method Description DocumentDocumentTreeModel. getDocument()DOCUMENT ME!Methods in org.dom4j.swing with parameters of type Document Modifier and Type Method Description static XMLTableDefinitionXMLTableDefinition. load(Document definition)Loads an XML table definition from an XML definition documentvoidDocumentTreeModel. setDocument(Document document)Sets theDocumentinstance that thisTreeModelis based onConstructors in org.dom4j.swing with parameters of type Document Constructor Description DocumentTreeModel(Document document)XMLTableModel(Document tableDefinition, Object source)Creates a TableModel from an XML table definition document and an XML source -
Uses of Document in org.dom4j.tree
Classes in org.dom4j.tree that implement Document Modifier and Type Class Description classAbstractDocumentAbstractDocumentis an abstract base class for tree implementors to use for implementation inheritence.classDefaultDocumentDefaultDocumentis the default DOM4J default implementation of an XML document.Methods in org.dom4j.tree that return Document Modifier and Type Method Description DocumentAbstractDocument. addComment(String comment)DocumentDefaultDocument. addDocType(String docTypeName, String publicId, String systemId)DocumentAbstractDocument. addProcessingInstruction(String target, String data)DocumentAbstractDocument. addProcessingInstruction(String target, Map<String,String> data)DocumentAbstractDocument. getDocument()DocumentAbstractNode. getDocument()DocumentBaseElement. getDocument()DocumentDefaultElement. getDocument()Methods in org.dom4j.tree with parameters of type Document Modifier and Type Method Description voidAbstractNode. setDocument(Document document)voidBaseElement. setDocument(Document document)voidDefaultElement. setDocument(Document document) -
Uses of Document in org.dom4j.util
Methods in org.dom4j.util that return Document Modifier and Type Method Description DocumentProxyDocumentFactory. createDocument()DocumentProxyDocumentFactory. createDocument(Element rootElement)Methods in org.dom4j.util with parameters of type Document Modifier and Type Method Description intNodeComparator. compare(Document n1, Document n2)
-