public class XMLIndenterPE extends XMLIndenter
nextReceiver
pipelineConfiguration, previousAtomic, systemId
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
XMLIndenterPE(XMLEmitter next) |
Modifier and Type | Method and Description |
---|---|
protected int |
getIndentation()
Get the number of spaces to be used for indentation
|
protected int |
getLineLength()
Get the suggested maximum length of a line
|
protected boolean |
isDoubleSpaced(NodeName name)
Ask whether a particular element is to be double-spaced
|
void |
setOutputProperties(Properties props)
Set the properties for this indenter
|
attribute, characters, comment, endDocument, endElement, namespace, open, processingInstruction, startContent, startElement, usesTypeAnnotations
append, close, getNamePool, getUnderlyingReceiver, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startDocument
append, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver
public XMLIndenterPE(XMLEmitter next)
public void setOutputProperties(Properties props)
setOutputProperties
in class XMLIndenter
props
- the serialization propertiesprotected boolean isDoubleSpaced(NodeName name)
XMLIndenter
isDoubleSpaced
in class XMLIndenter
name
- the element nameprotected int getIndentation()
XMLIndenter
getIndentation
in class XMLIndenter
protected int getLineLength()
XMLIndenter
getLineLength
in class XMLIndenter
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.