com.jclark.xsl.tr

Class StringResult

Implemented Interfaces:
Result

(package private) class StringResult
extends java.lang.Object
implements Result

Constructor Summary

StringResult()
StringResult(Result result)

Method Summary

void
attribute(Name name, String value)
void
characters(String str)
(package private) void
clear()
void
comment(String str)
Result
createResult(String uri)
void
end()
void
endElement(Name elementType)
void
message(Node node, String str)
void
processingInstruction(String target, String data)
void
rawCharacters(String str)
void
start(OutputMethod om)
void
startElement(Name elementType, NamespacePrefixMap nsMap)
(NB) The nsMap must declare the prefix on elementType correctly.
String
toString()

Constructor Details

StringResult

(package private)  StringResult()

StringResult

(package private)  StringResult(Result result)

Method Details

attribute

public void attribute(Name name,
                      String value)
Specified by:
attribute in interface Result

characters

public void characters(String str)
            throws XSLException
Specified by:
characters in interface Result

clear

(package private)  void clear()

comment

public void comment(String str)
Specified by:
comment in interface Result

createResult

public Result createResult(String uri)
Specified by:
createResult in interface Result

end

public void end()
Specified by:
end in interface Result

endElement

public void endElement(Name elementType)
Specified by:
endElement in interface Result

message

public void message(Node node,
                    String str)
            throws XSLException
Specified by:
message in interface Result

processingInstruction

public void processingInstruction(String target,
                                  String data)
Specified by:
processingInstruction in interface Result

rawCharacters

public void rawCharacters(String str)
            throws XSLException
Specified by:
rawCharacters in interface Result

start

public void start(OutputMethod om)
Specified by:
start in interface Result

startElement

public void startElement(Name elementType,
                         NamespacePrefixMap nsMap)
(NB) The nsMap must declare the prefix on elementType correctly.
Specified by:
startElement in interface Result

toString

public String toString()