Package | Description |
---|---|
org.jdom2.output.support |
Classes used to implement output functionality that are not part of the
actual Output API, but rather part of the implementation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractXMLOutputProcessor.attributeEscapedEntitiesFilter(java.io.Writer out,
FormatStack fstack,
java.lang.String value)
This will take the three pre-defined entities in XML 1.0 ('<', '>',
and '&' - used specifically in XML elements) as well as CR/NL and
Quote characters which require escaping inside Attribute values and
convert their character representation to the appropriate entity
reference suitable for XML attribute content.
|
protected Walker |
AbstractOutputProcessor.buildWalker(FormatStack fstack,
java.util.List<? extends Content> content,
boolean escape)
Create a walker to process Content List values.
|
protected org.w3c.dom.Node |
AbstractDOMOutputProcessor.helperContentDispatcher(FormatStack fstack,
NamespaceStack nstack,
org.w3c.dom.Document basedoc,
Content content)
This method contains code which is reused in a number of places.
|
protected org.w3c.dom.Attr |
AbstractDOMOutputProcessor.printAttribute(FormatStack fstack,
org.w3c.dom.Document basedoc,
Attribute attribute)
This will handle printing of a
Attribute . |
protected void |
AbstractXMLOutputProcessor.printAttribute(java.io.Writer out,
FormatStack fstack,
Attribute attribute)
This will handle printing of an
. |
protected void |
AbstractStAXStreamProcessor.printAttribute(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
Attribute attribute)
This will handle printing of an
. |
protected org.w3c.dom.CDATASection |
AbstractDOMOutputProcessor.printCDATA(FormatStack fstack,
org.w3c.dom.Document basedoc,
CDATA cdata)
This will handle printing of a
CDATA . |
protected void |
AbstractSAXOutputProcessor.printCDATA(SAXTarget out,
FormatStack fstack,
CDATA cdata)
This will handle printing of a
CDATA . |
protected void |
AbstractXMLOutputProcessor.printCDATA(java.io.Writer out,
FormatStack fstack,
CDATA cdata)
This will handle printing of a
CDATA . |
protected void |
AbstractStAXEventProcessor.printCDATA(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
javax.xml.stream.XMLEventFactory eventfactory,
CDATA cdata)
This will handle printing of a
CDATA . |
protected void |
AbstractStAXStreamProcessor.printCDATA(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
CDATA cdata)
This will handle printing of a
CDATA . |
protected org.w3c.dom.Comment |
AbstractDOMOutputProcessor.printComment(FormatStack fstack,
org.w3c.dom.Document basedoc,
Comment comment)
This will handle printing of a
Comment . |
protected void |
AbstractSAXOutputProcessor.printComment(SAXTarget out,
FormatStack fstack,
Comment comment)
This will handle printing of a
Comment . |
protected void |
AbstractXMLOutputProcessor.printComment(java.io.Writer out,
FormatStack fstack,
Comment comment)
This will handle printing of a
Comment . |
protected void |
AbstractStAXEventProcessor.printComment(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
javax.xml.stream.XMLEventFactory eventfactory,
Comment comment)
This will handle printing of a
Comment . |
protected void |
AbstractStAXStreamProcessor.printComment(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
Comment comment)
This will handle printing of a
Comment . |
protected void |
AbstractDOMOutputProcessor.printContent(FormatStack fstack,
NamespaceStack nstack,
org.w3c.dom.Document basedoc,
org.w3c.dom.Node target,
Walker walker)
This will handle printing of a List of
Content . |
protected void |
AbstractSAXOutputProcessor.printContent(SAXTarget out,
FormatStack fstack,
NamespaceStack nstack,
Walker walker)
This will handle printing of a List of
Content . |
protected void |
AbstractXMLOutputProcessor.printContent(java.io.Writer out,
FormatStack fstack,
NamespaceStack nstack,
Walker walker)
This will handle printing of a List of
Content . |
protected void |
AbstractStAXEventProcessor.printContent(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
NamespaceStack nstack,
javax.xml.stream.XMLEventFactory eventfactory,
Walker walker)
This will handle printing of a List of
Content . |
protected void |
AbstractStAXStreamProcessor.printContent(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
NamespaceStack nstack,
Walker walker)
This will handle printing of a List of
Content . |
protected void |
AbstractXMLOutputProcessor.printDeclaration(java.io.Writer out,
FormatStack fstack)
This will handle printing of the XML declaration.
|
protected void |
AbstractSAXOutputProcessor.printDocType(SAXTarget out,
FormatStack fstack,
DocType docType)
This will handle printing of a
DocType . |
protected void |
AbstractXMLOutputProcessor.printDocType(java.io.Writer out,
FormatStack fstack,
DocType docType)
This will handle printing of a
DocType . |
protected void |
AbstractStAXEventProcessor.printDocType(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
javax.xml.stream.XMLEventFactory eventfactory,
DocType docType)
This will handle printing of a
DocType . |
protected void |
AbstractStAXStreamProcessor.printDocType(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
DocType docType)
This will handle printing of a
DocType . |
protected org.w3c.dom.Document |
AbstractDOMOutputProcessor.printDocument(FormatStack fstack,
NamespaceStack nstack,
org.w3c.dom.Document basedoc,
Document doc)
This will handle printing of a
Document . |
protected void |
AbstractSAXOutputProcessor.printDocument(SAXTarget out,
FormatStack fstack,
NamespaceStack nstack,
Document document)
This will handle printing of a
Document . |
protected void |
AbstractXMLOutputProcessor.printDocument(java.io.Writer out,
FormatStack fstack,
NamespaceStack nstack,
Document doc)
This will handle printing of a
Document . |
protected void |
AbstractStAXEventProcessor.printDocument(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
NamespaceStack nstack,
javax.xml.stream.XMLEventFactory eventfactory,
Document doc)
This will handle printing of a
Document . |
protected void |
AbstractStAXStreamProcessor.printDocument(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
NamespaceStack nstack,
Document doc)
This will handle printing of a
Document . |
protected org.w3c.dom.Element |
AbstractDOMOutputProcessor.printElement(FormatStack fstack,
NamespaceStack nstack,
org.w3c.dom.Document basedoc,
Element element)
This will handle printing of an
Element . |
protected void |
AbstractSAXOutputProcessor.printElement(SAXTarget out,
FormatStack fstack,
NamespaceStack nstack,
Element element)
This will handle printing of an
Element . |
protected void |
AbstractXMLOutputProcessor.printElement(java.io.Writer out,
FormatStack fstack,
NamespaceStack nstack,
Element element)
This will handle printing of an
Element . |
protected void |
AbstractStAXEventProcessor.printElement(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
NamespaceStack nstack,
javax.xml.stream.XMLEventFactory eventfactory,
Element element)
This will handle printing of an
Element . |
protected void |
AbstractStAXStreamProcessor.printElement(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
NamespaceStack nstack,
Element element)
This will handle printing of an
Element . |
protected org.w3c.dom.EntityReference |
AbstractDOMOutputProcessor.printEntityRef(FormatStack fstack,
org.w3c.dom.Document basedoc,
EntityRef entity)
This will handle printing of an
EntityRef . |
protected void |
AbstractSAXOutputProcessor.printEntityRef(SAXTarget out,
FormatStack fstack,
EntityRef entity)
This will handle printing of an
EntityRef . |
protected void |
AbstractXMLOutputProcessor.printEntityRef(java.io.Writer out,
FormatStack fstack,
EntityRef entity)
This will handle printing of an
EntityRef . |
protected void |
AbstractStAXEventProcessor.printEntityRef(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
javax.xml.stream.XMLEventFactory eventfactory,
EntityRef entity)
This will handle printing of an
EntityRef . |
protected void |
AbstractStAXStreamProcessor.printEntityRef(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
EntityRef entity)
This will handle printing of an
EntityRef . |
protected void |
AbstractXMLOutputProcessor.printNamespace(java.io.Writer out,
FormatStack fstack,
Namespace ns)
This will handle printing of any needed
declarations. |
protected void |
AbstractStAXStreamProcessor.printNamespace(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
Namespace ns)
This will handle printing of any needed
declarations. |
protected org.w3c.dom.ProcessingInstruction |
AbstractDOMOutputProcessor.printProcessingInstruction(FormatStack fstack,
org.w3c.dom.Document basedoc,
ProcessingInstruction pi)
This will handle printing of a
ProcessingInstruction . |
protected void |
AbstractSAXOutputProcessor.printProcessingInstruction(SAXTarget out,
FormatStack fstack,
ProcessingInstruction pi)
This will handle printing of a
ProcessingInstruction . |
protected void |
AbstractXMLOutputProcessor.printProcessingInstruction(java.io.Writer out,
FormatStack fstack,
ProcessingInstruction pi)
This will handle printing of a
ProcessingInstruction . |
protected void |
AbstractStAXEventProcessor.printProcessingInstruction(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
javax.xml.stream.XMLEventFactory eventfactory,
ProcessingInstruction pi)
This will handle printing of a
ProcessingInstruction . |
protected void |
AbstractStAXStreamProcessor.printProcessingInstruction(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
ProcessingInstruction pi)
This will handle printing of a
ProcessingInstruction . |
protected org.w3c.dom.Text |
AbstractDOMOutputProcessor.printText(FormatStack fstack,
org.w3c.dom.Document basedoc,
Text text)
This will handle printing of a
Text . |
protected void |
AbstractSAXOutputProcessor.printText(SAXTarget out,
FormatStack fstack,
Text text)
This will handle printing of a
Text . |
protected void |
AbstractXMLOutputProcessor.printText(java.io.Writer out,
FormatStack fstack,
Text text)
This will handle printing of a
Text . |
protected void |
AbstractStAXEventProcessor.printText(javax.xml.stream.util.XMLEventConsumer out,
FormatStack fstack,
javax.xml.stream.XMLEventFactory eventfactory,
Text text)
This will handle printing of a
Text . |
protected void |
AbstractStAXStreamProcessor.printText(javax.xml.stream.XMLStreamWriter out,
FormatStack fstack,
Text text)
This will handle printing of a
Text . |
Constructor and Description |
---|
AbstractFormattedWalker(java.util.List<? extends Content> xx,
FormatStack fstack,
boolean doescape)
Create a Walker that preserves all content in its raw state.
|
WalkerNORMALIZE(java.util.List<? extends Content> content,
FormatStack fstack,
boolean escape)
Create the Trimmed walker instance.
|
WalkerTRIM_FULL_WHITE(java.util.List<? extends Content> content,
FormatStack fstack,
boolean escape)
Create the Trimmed walker instance.
|
WalkerTRIM(java.util.List<? extends Content> content,
FormatStack fstack,
boolean escape)
Create the Trimmed walker instance.
|
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.