Class AuthorSource

  • All Implemented Interfaces:
    javax.xml.transform.Source

    @API(type=INTERNAL,
         src=PUBLIC)
    public class AuthorSource
    extends javax.xml.transform.dom.DOMSource
    A DOM-like source over a author document model. DOMSource.getNode() will return a DOM implementation over the Author nodes model.
    • Constructor Detail

      • AuthorSource

        public AuthorSource​(AuthorAccess authorAccess)
        Constructor. The XInclude references over XQuery are not transparent, by default.
        Parameters:
        authorAccess - The author access of the author document.
      • AuthorSource

        public AuthorSource​(AuthorAccess authorAccess,
                            boolean transparentXqueryUpdateReferences)
        Constructor.
        Parameters:
        authorAccess - The author access of the author document.
        transparentXqueryUpdateReferences - true to make xinclude nodes transparent in the document model.
    • Method Detail

      • setSystemId

        public void setSystemId​(java.lang.String systemId)
        Specified by:
        setSystemId in interface javax.xml.transform.Source
        Overrides:
        setSystemId in class javax.xml.transform.dom.DOMSource
        See Also:
        Source.setSystemId(java.lang.String)
      • getSystemId

        public java.lang.String getSystemId()
        Specified by:
        getSystemId in interface javax.xml.transform.Source
        Overrides:
        getSystemId in class javax.xml.transform.dom.DOMSource
        See Also:
        Source.getSystemId()
      • getAuthorAccess

        public AuthorAccess getAuthorAccess()
        Returns:
        Returns the author access for the current wrapped document.