com.saxonica.serialize
Class HTMLIndenterPE
java.lang.Object
net.sf.saxon.event.SequenceReceiver
net.sf.saxon.event.ProxyReceiver
net.sf.saxon.serialize.HTMLIndenter
com.saxonica.serialize.HTMLIndenterPE
- All Implemented Interfaces:
- Result, Receiver
public class HTMLIndenterPE
- extends HTMLIndenter
HTMLIndenter with extra functionality used by Saxon-PE and Saxon-EE
Method Summary |
protected int |
getIndentation()
Get the number of spaces to be used for indentation |
protected int |
getLineLength()
Get the maximum length of lines, after which long lines will be word-wrapped |
void |
setOutputProperties(Properties props)
Set the properties for this indenter |
Methods inherited from class net.sf.saxon.event.ProxyReceiver |
append, attribute, close, endDocument, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, usesTypeAnnotations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLIndenterPE
public HTMLIndenterPE(Receiver next,
String method)
setOutputProperties
public void setOutputProperties(Properties props)
- Set the properties for this indenter
- Parameters:
props
- the serialization properties
getIndentation
protected int getIndentation()
- Description copied from class:
HTMLIndenter
- Get the number of spaces to be used for indentation
- Overrides:
getIndentation
in class HTMLIndenter
- Returns:
- the number of spaces to be added to the indentation for each level
getLineLength
protected int getLineLength()
- Description copied from class:
HTMLIndenter
- Get the maximum length of lines, after which long lines will be word-wrapped
- Overrides:
getLineLength
in class HTMLIndenter
- Returns:
- the maximum line length
Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.