Class XPathImpl
java.lang.Object
com.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.XPathImpl
- All Implemented Interfaces:
XSComponent, XSXPath
-
Field Summary
FieldsFields inherited from class ComponentImpl
ownerDocument -
Constructor Summary
ConstructorsConstructorDescriptionXPathImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, XmlString xpath) -
Method Summary
Modifier and TypeMethodDescription<T> Tapply(XSFunction<T> function) Accepts a functor.Returns theXSIdentityConstraintto which this XPath belongs to.getXPath()Gets the XPath as a string.voidsetParent(XSIdentityConstraint parent) voidAccepts a visitor.Methods inherited from class ComponentImpl
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface XSComponent
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
-
Field Details
-
parent
-
xpath
-
-
Constructor Details
-
XPathImpl
public XPathImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, XmlString xpath)
-
-
Method Details
-
setParent
-
getParent
Description copied from interface:XSXPathReturns theXSIdentityConstraintto which this XPath belongs to. -
getXPath
-
visit
Description copied from interface:XSComponentAccepts a visitor.- Specified by:
visitin interfaceXSComponent
-
apply
Description copied from interface:XSComponentAccepts a functor.- Specified by:
applyin interfaceXSComponent
-