|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjd.xml.xslt.result.ResultBuilder
jd.xml.xslt.result.TextResultBuilder
A ResultBuilder for the "text" output method.
| Constructor Summary | |
TextResultBuilder(XsltResult result)
Create a TextResultBuilder. |
|
| Method Summary | |
void |
addAttribute(String name,
String prefix,
String uri,
String value)
Does nothing. |
void |
addComment(String value)
Does nothing. |
void |
addNamespace(String prefix,
String uri,
boolean test)
Does nothing. |
void |
addProcessingInstruction(String target,
String data)
Does nothing. |
void |
addText(String text)
Adds the text as it is to the output. |
void |
addTextUnescaped(String text)
Adds the text to the output. |
void |
cleanup()
Cleanup any resources. |
void |
endDocument()
End the document output. |
void |
endElement()
Does nothing. |
String |
getNamespacePrefix(String uri)
Return null. |
void |
startDocument(OutputFormat outputFormat)
Start the document. |
void |
startElement(String namespaceUri,
String name,
NamespaceContext namespaceContext,
boolean isCDataSectionElement)
Does nothing. |
| Methods inherited from class jd.xml.xslt.result.ResultBuilder |
addAttribute, convertException, getSubResultBuilder, getUri, startElement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextResultBuilder(XsltResult result)
| Method Detail |
public void startDocument(OutputFormat outputFormat)
startDocument in class ResultBuilderoutputFormat - the output formatpublic void endDocument()
endDocument in class ResultBuilder
public void startElement(String namespaceUri,
String name,
NamespaceContext namespaceContext,
boolean isCDataSectionElement)
startElement in class ResultBuildernamespaceUri - the namespace of the element or null if it has nonename - the element namenamespaceContext - the namespace context of the element.public void endElement()
endElement in class ResultBuilder
public void addNamespace(String prefix,
String uri,
boolean test)
addNamespace in class ResultBuilderprefix - the namespace prefixuri - the namespace uritest - flag if it should be tested that the namespace can be inserted
in the output tree at this place.public String getNamespacePrefix(String uri)
getNamespacePrefix in class ResultBuilder
public void addAttribute(String name,
String prefix,
String uri,
String value)
addAttribute in class ResultBuildername - the qnameprefix - the prefixuri - the namespace urivalue - the valuepublic void addComment(String value)
addComment in class ResultBuilder
public void addProcessingInstruction(String target,
String data)
addProcessingInstruction in class ResultBuilderpublic void addText(String text)
addText in class ResultBuilderpublic void addTextUnescaped(String text)
addTextUnescaped in class ResultBuilderpublic void cleanup()
ResultBuilder
cleanup in class ResultBuilder
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||