public class XItemSource
extends java.lang.Object
implements javax.xml.transform.Source
An implementation of Source
for XItemView
objects.
This allows results from a previous expression, query or transformation to be used
where a Source object is required (such as by implementations of
XSourceResolver
) without first serializing to a DOM
or a stream.
Note that an XItemSource
can only be used at execution
time for providing input documents
and not at prepare time for imports and includes.
XSourceResolver
Constructor and Description |
---|
XItemSource(XItemView item)
Create a new XItemSource for the given item.
|
Modifier and Type | Method and Description |
---|---|
XItemView |
getItem()
Get the
XItemView associated with this source. |
java.lang.String |
getSystemId()
Get the system id associated with this source.
|
void |
setItem(XItemView item)
Set the
XItemView . |
void |
setSystemId(java.lang.String systemId)
Set the system id.
|
public XItemSource(XItemView item)
item
- The item.public XItemView getItem()
XItemView
associated with this source.XItemView
associated with this source.public void setItem(XItemView item)
XItemView
.item
- The XItemView
to set.public java.lang.String getSystemId()
getSystemId
in interface javax.xml.transform.Source
public void setSystemId(java.lang.String systemId)
setSystemId
in interface javax.xml.transform.Source
systemId
- The system id to set.