Acts as an holder for a transformation Result.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FEATURE
If |
| private ContentHandler | handler
The handler for parse events. |
| private LexicalHandler | lexhandler
The handler for lexical events. |
| private String | systemId
The systemID that may be used in association with the node. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | SAXResult(ContentHandler
Must be a non-null ContentHandler reference. handler)Create a SAXResult that targets a SAX2 |
| Modifier and Type | Method and Description |
|---|---|
| public ContentHandler | Returns: The ContentHandler that is to be transformation output.Get the |
| public LexicalHandler | Returns: ALexicalHandler, or null.Get a SAX2 |
| public String | Returns: The system identifier that was set with setSystemId, or null if setSystemId was not called.Implements javax. Get the system identifier that was set with setSystemId. |
| public void | setHandler(ContentHandler
Must be a non-null ContentHandler reference. handler)Set the target to be a SAX2 |
| public void | setLexicalHandler(LexicalHandler
A non-null handler)LexicalHandler for
handling lexical parse events.Set the SAX2 |
| public void | setSystemId(String
The system identifier as a URI string. systemId)Implements javax. Method setSystemId Set the systemID that may be used in association
with the |
| FEATURE | back to summary |
|---|---|
| public static final String FEATURE If | |
| handler | back to summary |
|---|---|
| private ContentHandler handler The handler for parse events. | |
| lexhandler | back to summary |
|---|---|
| private LexicalHandler lexhandler The handler for lexical events. | |
| systemId | back to summary |
|---|---|
| private String systemId The systemID that may be used in association with the node. | |
| SAXResult | back to summary |
|---|---|
| public SAXResult() Zero-argument default constructor. | |
| SAXResult | back to summary |
|---|---|
| public SAXResult(ContentHandler handler) Create a SAXResult that targets a SAX2
| |
| getHandler | back to summary |
|---|---|
| public ContentHandler getHandler() Get the
| |
| getLexicalHandler | back to summary |
|---|---|
| public LexicalHandler getLexicalHandler() Get a SAX2
| |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Implements javax. Get the system identifier that was set with setSystemId.
| |
| setHandler | back to summary |
|---|---|
| public void setHandler(ContentHandler handler) Set the target to be a SAX2
| |
| setLexicalHandler | back to summary |
|---|---|
| public void setLexicalHandler(LexicalHandler handler) Set the SAX2 This is needed to handle XML comments and the like. If the
lexical handler is not set, an attempt should be made by the
transformer to cast the
| |
| setSystemId | back to summary |
|---|---|
| public void setSystemId(String systemId) Implements javax. Method setSystemId Set the systemID that may be used in association
with the
| |