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
public class XPathImpl extends ComponentImpl implements XSXPath
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
-
Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl
ownerDocument
-
-
Constructor Summary
Constructors Constructor Description XPathImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, XmlString xpath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tapply(XSFunction<T> function)Accepts a functor.XSIdentityConstraintgetParent()Returns theXSIdentityConstraintto which this XPath belongs to.XmlStringgetXPath()Gets the XPath as a string.voidsetParent(XSIdentityConstraint parent)voidvisit(XSVisitor visitor)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 Detail
-
XPathImpl
public XPathImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, XmlString xpath)
-
-
Method Detail
-
setParent
public void setParent(XSIdentityConstraint parent)
-
getParent
public XSIdentityConstraint getParent()
Description copied from interface:XSXPathReturns theXSIdentityConstraintto which this XPath belongs to.
-
getXPath
public XmlString getXPath()
Description copied from interface:XSXPathGets the XPath as a string.
-
visit
public void visit(XSVisitor visitor)
Description copied from interface:XSComponentAccepts a visitor.- Specified by:
visitin interfaceXSComponent
-
apply
public <T> T apply(XSFunction<T> function)
Description copied from interface:XSComponentAccepts a functor.- Specified by:
applyin interfaceXSComponent
-
-