Example usage for javax.xml.transform.stream StreamSource getSystemId

List of usage examples for javax.xml.transform.stream StreamSource getSystemId

Introduction

In this page you can find the example usage for javax.xml.transform.stream StreamSource getSystemId.

Prototype

@Override
public String getSystemId() 

Source Link

Document

Get the system identifier that was set with setSystemId.

Usage

From source file:org.toobsframework.transformpipeline.domain.BaseXMLTransformer.java

protected InputSource getInputSource(String xsl) throws TransformerException {
    StreamSource source = ((StreamSource) uriResolver.resolve(xsl + ".xsl", ""));
    InputSource iSource = new InputSource(source.getInputStream());
    iSource.setSystemId(source.getSystemId());
    return iSource;
}