public interface Semantics
| Modifier and Type | Method and Description |
|---|---|
DetachPolicy |
getDetachPolicy() |
boolean |
isParentNode(NodeType nodeType)
Check if the given node type is a parent node type.
|
boolean |
isUseStrictNamespaceLookup()
Determine how namespace lookups are performed.
|
RuntimeException |
toUncheckedException(CoreModelException ex)
Translate the given exception to an unchecked exception.
|
DetachPolicy getDetachPolicy()
boolean isUseStrictNamespaceLookup()
true if only namespace declarations are taken into account. false if
the prefixes of the element and its ancestors are also taken into account (limited to
instanced of CoreNSAwareElement), even if no explicit namespace declarations
exists for these prefixes.boolean isParentNode(NodeType nodeType)
Axis.DESCENDANTS and Axis.DESCENDANTS_OR_SELF.node - the node type to checktrue if the node type is a parent node; false if the node type is
considered a leaf node typeRuntimeException toUncheckedException(CoreModelException ex)
NodeIterator
to translate exceptions that are triggered in Iterator.hasNext(),
Iterator.next() and Iterator.remove().ex - the original (checked) exceptionCopyright © The Apache Software Foundation. All Rights Reserved.