org.jcp.xml.dsig.internal.dom

Class DOMSubTreeData

  • java.lang.Object
    • org.jcp.xml.dsig.internal.dom.DOMSubTreeData
  • All Implemented Interfaces:
    javax.xml.crypto.Data, javax.xml.crypto.NodeSetData


    public class DOMSubTreeData
    extends java.lang.Object
    implements javax.xml.crypto.NodeSetData
    This is a subtype of NodeSetData that represents a dereferenced same-document URI as the root of a subdocument. The main reason is for efficiency and performance, as some transforms can operate directly on the subdocument and there is no need to convert it first to an XPath node-set.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DOMSubTreeData(org.w3c.dom.Node root, boolean excludeComments) 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean excludeComments() 
      org.w3c.dom.Node getRoot() 
      java.util.Iterator iterator() 
      • Methods inherited from class java.lang.Object

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

      • DOMSubTreeData

        public DOMSubTreeData(org.w3c.dom.Node root,
                      boolean excludeComments)
    • Method Detail

      • iterator

        public java.util.Iterator iterator()
        Specified by:
        iterator in interface javax.xml.crypto.NodeSetData
      • getRoot

        public org.w3c.dom.Node getRoot()
      • excludeComments

        public boolean excludeComments()

© Portions Copyright 2003, 2014 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2014 Oracle and/or its affiliates. All rights reserved.