Example usage for javax.xml.transform.sax SAXResult setSystemId

List of usage examples for javax.xml.transform.sax SAXResult setSystemId

Introduction

In this page you can find the example usage for javax.xml.transform.sax SAXResult setSystemId.

Prototype

public void setSystemId(String systemId) 

Source Link

Document

Method setSystemId Set the systemID that may be used in association with the org.xml.sax.ContentHandler .

Usage

From source file:org.xchain.namespaces.sax.NullResultCommand.java

public boolean execute(JXPathContext context) throws Exception {
    SAXResult result = new SAXResult();

    // configure the null result.
    result.setHandler(new HandlerWrapper());
    result.setSystemId("resource://context-class-loader/com/meltmedia/xchain/sax/null");

    // set the result in the pipeline config.
    PipelineCommand.getPipelineConfig().getCompositeStage().setResult(result);

    return false;
}