Sources

Three types of Transformation Sources have been provided.

  • DOMSource

    A holder for a DOM style source.

    • Set the system identifier for the source (optional)

      set/getSystemId( String systemId)
    • Set the DOM node representing the source DOM node tree. (normally the document node)

      set/getNode( Node node)
  • SAXSource

    A holder for a SAX style source.

    • Set the system identifier for the source (optional)

      set/getSystemId( String systemId)
    • Set the InputSource used by the XMLReader

      set/getInputSource( InputSource source)
    • Set the XMLReader used to parse the source.

      set/getXMLReader( XMLReader reader)
  • StreamSource

    A holder for a Stream of XML Markup.

    • Set the system identifier for the source (optional)

      set/getSystemId( String systemId)
    • Set the byte stream to be used as input

      set/getInputStream( InputStream stream)
    • Set the character reader to be used to read the input

      set/getReader( Reader reader)
    • Set the public identifier for the source (optional)

      set/getPublicId( String publicId)