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