Lines Matching refs:node
71 * Constructs a marker segment from a native tree node. If the node
76 COMMarkerSegment(Node node) throws IIOInvalidTreeException{
78 if (node instanceof IIOMetadataNode) {
79 IIOMetadataNode ourNode = (IIOMetadataNode) node;
84 node.getAttributes().getNamedItem("comment").getNodeValue();
88 throw new IIOInvalidTreeException("Empty comment node!", node);
111 IIOMetadataNode node = new IIOMetadataNode("com");
112 node.setAttribute("comment", getComment());
114 node.setUserObject(data.clone());
116 return node;