net.sf.swan.xml.output
Class Result
java.lang.Object
|
+--net.sf.swan.xml.output.Result
- Direct Known Subclasses:
- AttributesResult, ContainerResult
- public abstract class Result
- extends java.lang.Object
Method Summary |
ContainerResult |
end()
Output this Result and return it's parent. |
abstract java.lang.String |
getLocationString()
Provides an identifying string for the result node. |
protected abstract void |
output(org.xml.sax.ContentHandler handler,
org.xml.sax.ext.LexicalHandler lexicalHandler,
boolean emitNamespaceAttrs)
|
protected void |
startOutput(org.xml.sax.ContentHandler handler,
org.xml.sax.ext.LexicalHandler lexicalHandler,
boolean emitNamespaceAttrs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_OUTPUT
protected static final int NO_OUTPUT
START_OUTPUT
protected static final int START_OUTPUT
END_OUTPUT
protected static final int END_OUTPUT
outputState
protected int outputState
parent
protected final ContainerResult parent
Result
protected Result(ContainerResult parent)
end
public ContainerResult end()
throws java.io.IOException,
org.xml.sax.SAXException
- Output this Result and return it's parent. Note that any
preceding accumulated output necessary for preserving
well-formedness will also be emitted, so this will have
the side effect of emitting the start tags for any ancestor
elements, and invoking
end()
on any complete
results that precede this one in document order.
getLocationString
public abstract java.lang.String getLocationString()
- Provides an identifying string for the result node.
output
protected abstract void output(org.xml.sax.ContentHandler handler,
org.xml.sax.ext.LexicalHandler lexicalHandler,
boolean emitNamespaceAttrs)
throws java.io.IOException,
org.xml.sax.SAXException
startOutput
protected void startOutput(org.xml.sax.ContentHandler handler,
org.xml.sax.ext.LexicalHandler lexicalHandler,
boolean emitNamespaceAttrs)
throws java.io.IOException,
org.xml.sax.SAXException