public interface ISource extends IEncoded
DEFAULT_ENCODING, FEATURE_ENCODING| Modifier and Type | Method and Description |
|---|---|
nu.xom.Document |
getDocument()
The specification document.
|
ISourceFactory |
getFactory()
The source factory.
|
File |
getFile()
The source reference as a
java.io.File instance. |
IResourceManager |
getManager()
A resource manager.
|
INamespaceInfo |
getNamespaceInfo()
Get meta-information associated to namespace.
|
List<nu.xom.Element> |
getScenarios()
The specification scenarios.
|
String |
getString()
The source reference as String.
|
URI |
getURI()
The source reference as a
java.net.URI instance. |
String |
relative(ISource other)
Returns the reference as a relative String.
|
ISource |
resolve(ISource other)
The relative source resolved.
|
getEncodingString getString()
File getFile()
java.io.File instance.URI getURI()
java.net.URI instance.String relative(ISource other)
other - The reference to be compared.ISource resolve(ISource other) throws SourceException
other - The reference to be opened.SourceException - On creation errors.ISourceFactory getFactory()
IResourceManager getManager()
nu.xom.Document getDocument()
throws SourceException
SourceException - On creation error.INamespaceInfo getNamespaceInfo() throws SourceException
SourceException - On namespace info reading.List<nu.xom.Element> getScenarios() throws SourceException
SourceException - On creation error.Copyright © 2016. All rights reserved.