1 16 17 package org.apache.xerces.impl.xs.opti; 18 19 26 public class NodeImpl extends DefaultNode { 27 28 String prefix; 29 String localpart; 30 String rawname; 31 String uri; 32 short nodeType; 33 boolean hidden; 34 35 36 public NodeImpl() { 37 } 38 39 40 public NodeImpl(String prefix, String localpart, String rawname, String uri, short nodeType) { 41 this.prefix = prefix; 42 this.localpart = localpart; 43 this.rawname = rawname; 44 this.uri = uri; 45 this.nodeType = nodeType; 46 } 47 48 49 public String getNodeName() { 50 return rawname; 51 } 52 53 54 public String getNamespaceURI() { 55 return uri; 56 } 57 58 59 public String getPrefix() { 60 return prefix; 61 } 62 63 64 public String getLocalName() { 65 return localpart; 66 } 67 68 69 public short getNodeType() { 70 return nodeType; 71 } 72 73 74 76 public void setReadOnly(boolean hide, boolean deep) { 77 hidden = hide; 78 } 79 80 81 public boolean getReadOnly() { 82 return hidden; 83 } 84 } | Popular Tags |