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
Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl |
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString |
XPathImpl
public XPathImpl(SchemaDocumentImpl _owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl fa,
XmlString xpath)
setParent
public void setParent(XSIdentityConstraint parent)
getParent
public XSIdentityConstraint getParent()
- Description copied from interface:
XSXPath
- Returns the
XSIdentityConstraint
to which
this XPath belongs to.
- Specified by:
getParent
in interface XSXPath
- Returns:
- never null.
getXPath
public XmlString getXPath()
- Description copied from interface:
XSXPath
- Gets the XPath as a string.
- Specified by:
getXPath
in interface XSXPath
- Returns:
- never null.
visit
public void visit(XSVisitor visitor)
- Description copied from interface:
XSComponent
- Accepts a visitor.
- Specified by:
visit
in interface XSComponent
apply
public <T> T apply(XSFunction<T> function)
- Description copied from interface:
XSComponent
- Accepts a functor.
- Specified by:
apply
in interface XSComponent
Copyright © 2012 Oracle. All Rights Reserved.