com.ibm.xml.xapi

Class XItemSource

  • java.lang.Object
    • com.ibm.xml.xapi.XItemSource
  • All Implemented Interfaces:
    javax.xml.transform.Source


    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.

    See Also:
    XSourceResolver
    • Constructor Summary

      Constructors 
      Constructor and Description
      XItemSource(XItemView item)
      Create a new XItemSource for the given item.
    • Method Summary

      Methods 
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XItemSource

        public XItemSource(XItemView item)
        Create a new XItemSource for the given item.
        Parameters:
        item - The item.
    • Method Detail

      • getItem

        public XItemView getItem()
        Get the XItemView associated with this source.
        Returns:
        The XItemView associated with this source.
      • setItem

        public void setItem(XItemView item)
        Set the XItemView.
        Parameters:
        item - The XItemView to set.
      • getSystemId

        public java.lang.String getSystemId()
        Get the system id associated with this source.
        Specified by:
        getSystemId in interface javax.xml.transform.Source
        Returns:
        The system id string.
      • setSystemId

        public void setSystemId(java.lang.String systemId)
        Set the system id.
        Specified by:
        setSystemId in interface javax.xml.transform.Source
        Parameters:
        systemId - The system id to set.
IBM WebSphere Application Server XML API JavadocTM
Release 8.5