Class XdmValueResource
java.lang.Object
de.wwu.scdh.annotation.selection.resource.XdmValueResource
- All Implemented Interfaces:
Resource<net.sf.saxon.s9api.XdmValue>,S9ApiResource<net.sf.saxon.s9api.XdmValue>
The
XdmValueResource is suitable for all kinds of resources
derived from a DOMResource, even for plain text images.-
Constructor Summary
ConstructorsConstructorDescriptionXdmValueResource(URI uri, net.sf.saxon.s9api.XdmValue value) Deprecated.XdmValueResource(URI uri, net.sf.saxon.s9api.XdmValue value, net.sf.saxon.s9api.Processor processor) Deprecated.XdmValueResource(URI uri, net.sf.saxon.s9api.XdmValue value, net.sf.saxon.s9api.Processor processor, Class<? extends Point> pointClass) Makes a newXdmValueResource. -
Method Summary
Modifier and TypeMethodDescriptionnet.sf.saxon.s9api.XdmValueReturns the contents of the resource as parsed type.Returns the class of the pointer for the serialized resource.net.sf.saxon.s9api.ProcessorReturns the SaxonProcessorthe resource was parsed with.getUri()Returns theURIidentifying this resource.
-
Constructor Details
-
XdmValueResource
Deprecated. -
XdmValueResource
@Deprecated public XdmValueResource(URI uri, net.sf.saxon.s9api.XdmValue value, net.sf.saxon.s9api.Processor processor) Deprecated. -
XdmValueResource
public XdmValueResource(URI uri, net.sf.saxon.s9api.XdmValue value, net.sf.saxon.s9api.Processor processor, Class<? extends Point> pointClass) Makes a newXdmValueResource.- Parameters:
uri- - the URI of the resourcevalue- - the Xdm value making the resource's contentprocessor- - SaxonProcessorpointClass- - thePointclass for the serialized resource
-
-
Method Details
-
getContents
public net.sf.saxon.s9api.XdmValue getContents()Returns the contents of the resource as parsed type.- Specified by:
getContentsin interfaceResource<net.sf.saxon.s9api.XdmValue>
-
getUri
Returns theURIidentifying this resource. -
getProcessor
public net.sf.saxon.s9api.Processor getProcessor()Returns the SaxonProcessorthe resource was parsed with.- Specified by:
getProcessorin interfaceS9ApiResource<net.sf.saxon.s9api.XdmValue>- Returns:
- a Saxon
Processor
-
getPointClass
Returns the class of the pointer for the serialized resource.
-