Lines Matching refs:node
586 * This method is used to find a Stylesheet node that is referred
602 SyntaxTreeNode node = findStylesheet(child, href);
603 if (node != null) return node;
939 * Creates a new node in the abstract syntax tree. This node can be
955 SyntaxTreeNode node = null;
962 node = (SyntaxTreeNode)clazz.newInstance();
963 node.setQName(qname);
964 node.setParser(this);
966 node.setLineNumber(getLineNumber());
968 if (node instanceof Stylesheet) {
969 _xsltc.setStylesheet((Stylesheet)node);
971 checkForSuperfluousAttributes(node, attributes);
974 ErrorMsg err = new ErrorMsg(ErrorMsg.CLASS_NOT_FOUND_ERR, node);
979 e.getMessage(), node);
987 node = new UnsupportedElement(uri, prefix, local, false);
988 UnsupportedElement element = (UnsupportedElement)node;
998 node = new UnsupportedElement(uri, prefix, local, true);
999 UnsupportedElement element = (UnsupportedElement)node;
1009 node = new UnsupportedElement(uri, prefix, local, true);
1010 UnsupportedElement elem = (UnsupportedElement)node;
1020 if (node == null) {
1021 node = new LiteralElement();
1022 node.setLineNumber(getLineNumber());
1025 if ((node != null) && (node instanceof LiteralElement)) {
1026 ((LiteralElement)node).setQName(qname);
1028 return(node);
1033 * for a particular element node.
1035 private void checkForSuperfluousAttributes(SyntaxTreeNode node,
1038 QName qname = node.getQName();
1039 boolean isStylesheet = (node instanceof Stylesheet);
1064 attrQName, node);
1126 * The method will return a Dummy node if the XPath parser fails.
1136 final SyntaxTreeNode node = (SyntaxTreeNode)result.value;
1137 if (node != null) {
1138 node.setParser(this);
1139 node.setParent(parent);
1140 node.setLineNumber(line);
1141 // System.out.println("e = " + text + " " + node);
1142 return node;
1359 // Add it as a regular text node otherwise