程序包 | 说明 |
---|---|
org.jdom2 | |
org.jdom2.adapters | |
org.jdom2.filter | |
org.jdom2.input | |
org.jdom2.input.stax |
Support classes for building JDOM documents and content using StAX readers.
|
org.jdom2.located | |
org.jdom2.output | |
org.jdom2.output.support |
限定符和类型 | 方法和说明 |
---|---|
DocType |
DocType.clone() |
DocType |
DocType.detach() |
DocType |
UncheckedJDOMFactory.docType(int line,
int col,
java.lang.String elementName) |
DocType |
SlimJDOMFactory.docType(int line,
int col,
java.lang.String elementName) |
DocType |
JDOMFactory.docType(int line,
int col,
java.lang.String elementName)
This will create the
DocType with
the specified element name |
DocType |
DefaultJDOMFactory.docType(int line,
int col,
java.lang.String elementName) |
DocType |
UncheckedJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID) |
DocType |
SlimJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID) |
DocType |
JDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID)
This will create the
DocType with
the specified element name and reference to an
external DTD. |
DocType |
DefaultJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID) |
DocType |
UncheckedJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
DocType |
SlimJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
DocType |
JDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID)
This will create the
DocType with
the specified element name and a reference to an
external DTD. |
DocType |
DefaultJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
DocType |
JDOMFactory.docType(java.lang.String elementName)
This will create the
DocType with
the specified element name |
DocType |
DefaultJDOMFactory.docType(java.lang.String elementName) |
DocType |
JDOMFactory.docType(java.lang.String elementName,
java.lang.String systemID)
This will create the
DocType with
the specified element name and reference to an
external DTD. |
DocType |
DefaultJDOMFactory.docType(java.lang.String elementName,
java.lang.String systemID) |
DocType |
JDOMFactory.docType(java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID)
This will create the
DocType with
the specified element name and a reference to an
external DTD. |
DocType |
DefaultJDOMFactory.docType(java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
DocType |
Document.getDocType()
|
DocType |
DocType.setElementName(java.lang.String elementName)
This will set the root element name declared by this
DOCTYPE declaration.
|
DocType |
DocType.setPublicID(java.lang.String publicID)
This will set the public ID of an externally
referenced DTD.
|
DocType |
DocType.setSystemID(java.lang.String systemID)
This will set the system ID of an externally
referenced DTD.
|
限定符和类型 | 方法和说明 |
---|---|
Document |
UncheckedJDOMFactory.document(Element rootElement,
DocType docType) |
Document |
JDOMFactory.document(Element rootElement,
DocType docType)
|
Document |
DefaultJDOMFactory.document(Element rootElement,
DocType docType) |
Document |
UncheckedJDOMFactory.document(Element rootElement,
DocType docType,
java.lang.String baseURI) |
Document |
JDOMFactory.document(Element rootElement,
DocType docType,
java.lang.String baseURI)
|
Document |
DefaultJDOMFactory.document(Element rootElement,
DocType docType,
java.lang.String baseURI) |
Document |
Document.setDocType(DocType docType)
This will set the
declaration for this Document . |
构造器和说明 |
---|
Document(Element rootElement,
DocType docType)
|
Document(Element rootElement,
DocType docType,
java.lang.String baseURI)
|
限定符和类型 | 方法和说明 |
---|---|
org.w3c.dom.Document |
DOMAdapter.createDocument(DocType doctype)
This creates an empty
Document object based
on a specific parser implementation with the given DOCTYPE. |
org.w3c.dom.Document |
AbstractDOMAdapter.createDocument(DocType doctype)
This creates an empty
Document object based
on a specific parser implementation with the given DOCTYPE. |
限定符和类型 | 方法和说明 |
---|---|
static Filter<DocType> |
Filters.doctype()
Return a Filter that matches any
DocType data. |
限定符和类型 | 方法和说明 |
---|---|
DocType |
DOMBuilder.build(org.w3c.dom.DocumentType doctype)
This will build a JDOM Element from an existing DOM Element
|
限定符和类型 | 方法和说明 |
---|---|
static DocType |
DTDParser.parse(java.lang.String input,
JDOMFactory factory)
Parse out a DOCTYPE declaration as supplied by the standard StAX
readers.
|
限定符和类型 | 类和说明 |
---|---|
class |
LocatedDocType
An XML DOCTYPE declaration.
|
限定符和类型 | 方法和说明 |
---|---|
DocType |
LocatedJDOMFactory.docType(int line,
int col,
java.lang.String elementName) |
DocType |
LocatedJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String systemID) |
DocType |
LocatedJDOMFactory.docType(int line,
int col,
java.lang.String elementName,
java.lang.String publicID,
java.lang.String systemID) |
限定符和类型 | 方法和说明 |
---|---|
org.w3c.dom.DocumentType |
DOMOutputter.output(DocType doctype)
This converts the JDOM
DocType parameter to a DOM DocumentType,
returning the DOM version. |
void |
XMLOutputter.output(DocType doctype,
java.io.OutputStream out)
This will print the
to the given
OutputStream. |
void |
XMLOutputter.output(DocType doctype,
java.io.Writer out)
Print out the
. |
void |
StAXEventOutputter.output(DocType doctype,
javax.xml.stream.util.XMLEventConsumer out)
Print out the
. |
void |
StAXStreamOutputter.output(DocType doctype,
javax.xml.stream.XMLStreamWriter out)
Print out the
. |
java.lang.String |
XMLOutputter.outputString(DocType doctype)
Return a string representing a
DocType . |
限定符和类型 | 方法和说明 |
---|---|
void |
SAXOutputProcessor.process(SAXTarget out,
Format format,
DocType doctype)
Print out the
. |
void |
AbstractSAXOutputProcessor.process(SAXTarget out,
Format format,
DocType doctype) |
void |
XMLOutputProcessor.process(java.io.Writer out,
Format format,
DocType doctype)
Print out the
. |
void |
AbstractXMLOutputProcessor.process(java.io.Writer out,
Format format,
DocType doctype) |
void |
StAXEventProcessor.process(javax.xml.stream.util.XMLEventConsumer out,
Format format,
javax.xml.stream.XMLEventFactory eventfactory,
DocType doctype)
Print out the
. |
void |
AbstractStAXEventProcessor.process(javax.xml.stream.util.XMLEventConsumer out,
Format format,
javax.xml.stream.XMLEventFactory eventfactory,
DocType doctype) |
void |
StAXStreamProcessor.process(javax.xml.stream.XMLStreamWriter out,
Format format,
DocType doctype)
Print out the
. |
void |
AbstractStAXStreamProcessor.process(javax.xml.stream.XMLStreamWriter out,
Format format,
DocType doctype) |