Class NodeListElementEnumerator


  • public class NodeListElementEnumerator
    extends Object
    INTERNAL:

    Purpose: This class is used to enumerate over the XML elements. This is because some parsers fail to ignore whitespaces and may include them as test elements. This enumerator will ensure that only NodeElements are returned.

    Since:
    TopLink 4.0
    Author:
    Gordon Yorke
    • Field Detail

      • index

        protected int index
    • Constructor Detail

      • NodeListElementEnumerator

        public NodeListElementEnumerator​(NodeList list)
    • Method Detail

      • hasMoreNodes

        public boolean hasMoreNodes()
      • nextNode

        public Node nextNode()