1 57 58 package com.sun.org.apache.xerces.internal.impl.xs.opti; 59 60 65 public class NodeImpl extends DefaultNode { 66 67 String prefix; 68 String localpart; 69 String rawname; 70 String uri; 71 short nodeType; 72 boolean hidden; 73 74 75 public NodeImpl() { 76 } 77 78 79 public NodeImpl(String prefix, String localpart, String rawname, String uri, short nodeType) { 80 this.prefix = prefix; 81 this.localpart = localpart; 82 this.rawname = rawname; 83 this.uri = uri; 84 this.nodeType = nodeType; 85 } 86 87 88 public String getNodeName() { 89 return rawname; 90 } 91 92 93 public String getNamespaceURI() { 94 return uri; 95 } 96 97 98 public String getPrefix() { 99 return prefix; 100 } 101 102 103 public String getLocalName() { 104 return localpart; 105 } 106 107 108 public short getNodeType() { 109 return nodeType; 110 } 111 112 113 115 public void setReadOnly(boolean hide, boolean deep) { 116 hidden = hide; 117 } 118 119 120 public boolean getReadOnly() { 121 return hidden; 122 } 123 } 124 125 | Popular Tags |