Lines Matching defs:node
30 public MOTree(XMLNode node, String urn) throws IOException, SAXException {
31 Iterator<XMLNode> children = node.getChildren().iterator();
47 mRoot = new MgmtTreeRoot(node, dtdRev);
49 for (XMLNode child : node.getChildren()) {
117 private static void buildNode(OMANode parent, XMLNode node) throws IOException {
118 if (!node.getTag().equals(NodeTag))
119 throw new IOException("Node is a '" + node.getTag() + "' instead of a 'Node'");
128 for (XMLNode child : node.getChildren()) {
146 throw new IOException(ValueTag + " in constructed node");
166 throw new IOException("Scalar node " + node.getText() + " has Node child");
194 private static XMLNode getNextNode(XMLNode node, String tag) throws IOException {
195 if (node == null)
196 throw new IOException("No node for " + tag);
197 if (node.getChildren().size() != 1)
198 throw new IOException("Expected " + node.getTag() + " to have exactly one child");
199 XMLNode child = node.getChildren().iterator().next();
201 throw new IOException("Expected " + node.getTag() + " to have child '" + tag +