|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jclark.xsl.sax.ResultBase
abstract base class represents the results of executing a stylesheet Action -- constructs result components. events are fired to the Result, which in turn fires events to a SAX (1) DocumentHandler
Method Summary | |
void |
attribute(Name name,
java.lang.String value)
construct an Attribute with the given name ... |
void |
characters(java.lang.String str)
construct some characters in the result |
void |
comment(java.lang.String str)
construct a comment in our result |
void |
end()
flush any pending construction work, nothing else will be built |
void |
endElement(Name elementType)
|
protected abstract void |
endElementContent(Name elementType)
|
void |
flush()
call this when we're sure we're not getting any more attribute node constructing actions |
protected Name |
getAttributeName(int i)
|
protected org.xml.sax.DocumentHandler |
getDocumentHandler()
|
int |
getLength()
|
java.lang.String |
getType(int i)
|
java.lang.String |
getType(java.lang.String name)
|
java.lang.String |
getValue(int i)
|
java.lang.String |
getValue(java.lang.String name)
|
void |
message(Node node,
java.lang.String str)
|
void |
processingInstruction(java.lang.String target,
java.lang.String data)
construct a processingInstruction in the result |
void |
rawCharacters(java.lang.String str)
rawCharacters are distinct from plain 'ol characters in that we don't try to do any escaping |
abstract void |
resultTreeFragment(ResultTreeFragment frag)
|
void |
start(OutputMethod outputMethod)
initialize, (and possibly construct) the DocumentHandler |
void |
startElement(Name elementType,
NamespacePrefixMap nsMap)
start construction an Element |
protected abstract void |
startElementContent(Name elementType,
NamespacePrefixMap nsMap)
we're finished with adding attributes? |
protected void |
throwXSLException(org.xml.sax.SAXException e)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jclark.xsl.tr.Result |
createResult |
Methods inherited from interface org.xml.sax.AttributeList |
getName |
Method Detail |
public void flush() throws XSLException
public void rawCharacters(java.lang.String str) throws XSLException
rawCharacters
in interface Result
public void characters(java.lang.String str) throws XSLException
characters
in interface Result
public void comment(java.lang.String str) throws XSLException
comment
in interface Result
public void processingInstruction(java.lang.String target, java.lang.String data) throws XSLException
processingInstruction
in interface Result
public void startElement(Name elementType, NamespacePrefixMap nsMap) throws XSLException
startElement
in interface Result
public void endElement(Name elementType) throws XSLException
endElement
in interface Result
protected final org.xml.sax.DocumentHandler getDocumentHandler()
public int getLength()
getLength
in interface org.xml.sax.AttributeList
protected final Name getAttributeName(int i)
public java.lang.String getValue(int i)
getValue
in interface org.xml.sax.AttributeList
public java.lang.String getType(int i)
getType
in interface org.xml.sax.AttributeList
public java.lang.String getType(java.lang.String name)
getType
in interface org.xml.sax.AttributeList
public java.lang.String getValue(java.lang.String name)
getValue
in interface org.xml.sax.AttributeList
protected abstract void startElementContent(Name elementType, NamespacePrefixMap nsMap) throws XSLException
protected abstract void endElementContent(Name elementType) throws XSLException
public void attribute(Name name, java.lang.String value) throws XSLException
attribute
in interface Result
public void start(OutputMethod outputMethod) throws XSLException
start
in interface Result
public void end() throws XSLException
end
in interface Result
protected void throwXSLException(org.xml.sax.SAXException e) throws XSLException
public abstract void resultTreeFragment(ResultTreeFragment frag) throws XSLException
public void message(Node node, java.lang.String str) throws XSLException
message
in interface Result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |