org.mule.module.xml.util.LocalResourceResolverInput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mule-module-xml Show documentation
Show all versions of mule-module-xml Show documentation
Functionality for working with XML
The newest version!
/*
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.module.xml.util;
import org.w3c.dom.ls.LSInput;
import java.io.InputStream;
import java.io.Reader;
public class LocalResourceResolverInput implements LSInput
{
private Reader characterStream;
private InputStream byteStream;
private String stringData;
private String systemId;
private String publicId;
private String baseURI;
private String encoding;
private boolean certifiedText;
@Override
public Reader getCharacterStream()
{
return characterStream;
}
@Override
public void setCharacterStream(Reader characterStream)
{
this.characterStream = characterStream;
}
@Override
public InputStream getByteStream()
{
return byteStream;
}
@Override
public void setByteStream(InputStream byteStream)
{
this.byteStream = byteStream;
}
@Override
public String getStringData()
{
return stringData;
}
@Override
public void setStringData(String stringData)
{
this.stringData = stringData;
}
@Override
public String getSystemId()
{
return systemId;
}
@Override
public void setSystemId(String systemId)
{
this.systemId = systemId;
}
@Override
public String getPublicId()
{
return publicId;
}
@Override
public void setPublicId(String publicId)
{
this.publicId = publicId;
}
@Override
public String getBaseURI()
{
return baseURI;
}
@Override
public void setBaseURI(String baseURI)
{
this.baseURI = baseURI;
}
@Override
public String getEncoding()
{
return encoding;
}
@Override
public void setEncoding(String encoding)
{
this.encoding = encoding;
}
@Override
public boolean getCertifiedText()
{
return certifiedText;
}
@Override
public void setCertifiedText(boolean certifiedText)
{
this.certifiedText = certifiedText;
}
}