Class ParserStreamUtils


  • public final class ParserStreamUtils
    extends Object
    • Method Detail

      • findSchemaNodeByNameAndNamespace

        public static Deque<DataSchemaNode> findSchemaNodeByNameAndNamespace​(DataSchemaNode dataSchemaNode,
                                                                             String childName,
                                                                             XMLNamespace namespace)
        Returns stack of schema nodes via which it was necessary to pass to get schema node with specified childName and namespace.
        Returns:
        stack of schema nodes via which it was passed through. If found schema node is direct child then stack contains only one node. If it is found under choice and case then stack should contains 2*n+1 element (where n is number of choices through it was passed)