1 package net.sf.saxon.om; 2 import net.sf.saxon.Configuration; 3 import net.sf.saxon.value.Value; 4 import net.sf.saxon.event.Receiver; 5 import net.sf.saxon.pattern.NodeTest; 6 import net.sf.saxon.trans.XPathException; 7 8 import javax.xml.transform.Source ; 9 10 38 39 public interface NodeInfo extends Source , Item, ValueRepresentation { 40 41 int[] EMPTY_NAMESPACE_LIST = new int[0]; 42 43 53 54 public int getNodeKind(); 55 56 72 73 public boolean isSameNodeInfo(NodeInfo other); 74 75 88 89 public String getSystemId(); 90 91 99 100 public String getBaseURI(); 101 102 126 127 public int getLineNumber(); 128 129 145 146 public int compareOrder(NodeInfo other); 147 148 164 165 public String getStringValue(); 166 167 181 182 public int getNameCode(); 183 184 196 197 public int getFingerprint(); 198 199 206 207 public String getLocalPart(); 208 209 218 219 public String getURI(); 220 221 230 231 public String getDisplayName(); 232 233 239 240 public String getPrefix(); 241 242 247 248 public Configuration getConfiguration(); 249 250 255 256 public NamePool getNamePool(); 257 258 274 275 public int getTypeAnnotation(); 276 277 280 281 public static int IS_DTD_TYPE = 1<<30; 282 283 291 292 public Value atomize() throws XPathException; 293 294 300 301 public NodeInfo getParent(); 302 303 315 316 public AxisIterator iterateAxis(byte axisNumber); 317 318 319 334 335 public AxisIterator iterateAxis(byte axisNumber, NodeTest nodeTest); 336 337 345 346 public String getAttributeValue(int fingerprint); 347 348 356 357 public NodeInfo getRoot(); 358 359 367 368 public DocumentInfo getDocumentRoot(); 369 370 379 380 public boolean hasChildNodes(); 381 382 392 393 public String generateId(); 394 395 400 401 public int getDocumentNumber(); 402 403 421 422 public void copy(Receiver out, int whichNamespaces, boolean copyAnnotations, int locationId) throws XPathException; 423 424 427 428 int NO_NAMESPACES = 0; 429 430 433 int LOCAL_NAMESPACES = 1; 434 435 438 int ALL_NAMESPACES = 2; 439 440 452 453 public void sendNamespaceDeclarations(Receiver out, boolean includeAncestors) 454 throws XPathException; 455 456 474 475 public int[] getDeclaredNamespaces(int[] buffer); 476 477 } 478 479 | Popular Tags |