Package org.xmlresolver.sources
Class ResolverLSInput
java.lang.Object
org.xmlresolver.sources.ResolverLSInput
- All Implemented Interfaces:
LSInput
An
LSInput with a resolvedURI.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final InputStream(package private) final Stringfinal URIThe underlying, resolved URI.(package private) final String(package private) final URI -
Constructor Summary
ConstructorsConstructorDescriptionResolverLSInput(ResolvedResource rsrc, String publicId) Construct theLSInputwhile preserving the local URI.ResolverLSInput(Resource rsrc, String publicId, String systemId) Construct theLSInputwhile preserving the local URI. -
Method Summary
Modifier and TypeMethodDescriptionThe LSInput API...The LSInput API...booleanThe LSInput API...The LSInput API...The LSInput API...The LSInput API...The LSInput API...The LSInput API...voidsetBaseURI(String string) The LSInput API...voidsetByteStream(InputStream inputStream) The LSInput API...voidsetCertifiedText(boolean b) The LSInput API...voidsetCharacterStream(Reader reader) The LSInput API...voidsetEncoding(String string) The LSInput API...voidsetPublicId(String string) The LSInput API...voidsetStringData(String string) The LSInput API...voidsetSystemId(String string) The LSInput API...
-
Field Details
-
resolvedURI
The underlying, resolved URI. -
publicId
-
systemId
-
body
-
uri
-
-
Constructor Details
-
ResolverLSInput
Construct theLSInputwhile preserving the local URI.- Parameters:
rsrc- The resolver resource.publicId- The publicId.systemId- The systemId.
-
ResolverLSInput
Construct theLSInputwhile preserving the local URI. If the resolved resource is available, we can get everything except the public identifier from that resolved resource.- Parameters:
rsrc- The resolved resource.publicId- The publicId.
-
-
Method Details
-
getCharacterStream
The LSInput API...- Specified by:
getCharacterStreamin interfaceLSInput
-
setCharacterStream
The LSInput API... This method always throws anUnsupportedOperationException.- Specified by:
setCharacterStreamin interfaceLSInput
-
getByteStream
The LSInput API...- Specified by:
getByteStreamin interfaceLSInput
-
setByteStream
The LSInput API... This method always throws anUnsupportedOperationException.- Specified by:
setByteStreamin interfaceLSInput
-
getStringData
The LSInput API...- Specified by:
getStringDatain interfaceLSInput
-
setStringData
The LSInput API... This method always throws anUnsupportedOperationException.- Specified by:
setStringDatain interfaceLSInput
-
getSystemId
The LSInput API...- Specified by:
getSystemIdin interfaceLSInput
-
setSystemId
The LSInput API... This method always throws anUnsupportedOperationException.- Specified by:
setSystemIdin interfaceLSInput
-
getPublicId
The LSInput API...- Specified by:
getPublicIdin interfaceLSInput
-
setPublicId
The LSInput API... This method always throws anUnsupportedOperationException.- Specified by:
setPublicIdin interfaceLSInput
-
getBaseURI
The LSInput API...- Specified by:
getBaseURIin interfaceLSInput
-
setBaseURI
The LSInput API... This method always throws anUnsupportedOperationException.- Specified by:
setBaseURIin interfaceLSInput
-
getEncoding
The LSInput API...- Specified by:
getEncodingin interfaceLSInput
-
setEncoding
The LSInput API... This method always throws anUnsupportedOperationException.- Specified by:
setEncodingin interfaceLSInput
-
getCertifiedText
public boolean getCertifiedText()The LSInput API...- Specified by:
getCertifiedTextin interfaceLSInput
-
setCertifiedText
public void setCertifiedText(boolean b) The LSInput API... This method always throws anUnsupportedOperationException.- Specified by:
setCertifiedTextin interfaceLSInput
-