Top Fields Constructors Methods
com.sun.xml.xsom.impl

public Class XPathImpl

extends ComponentImpl
implements XSXPath
Class Inheritance
All Implemented Interfaces
com.sun.xml.xsom.XSXPath, com.sun.xml.xsom.XSComponent
Imports
com.sun.xml.xsom.XSIdentityConstraint, .XSXPath, .XmlString, com.sun.xml.xsom.impl.parser.SchemaDocumentImpl, com.sun.xml.xsom.visitor.XSFunction, .XSVisitor, org.xml.sax.Locator

Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private XSIdentityConstraint
private final XmlString
Inherited from com.sun.xml.xsom.impl.ComponentImpl:
ownerDocument

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T> T
apply(XSFunction<T> function)

Implements com.sun.xml.xsom.XSComponent.apply.

Accepts a functor.

public XSIdentityConstraint
getParent()

Implements com.sun.xml.xsom.XSXPath.getParent.

Returns the XSIdentityConstraint to which this XPath belongs to.

public XmlString
getXPath()

Implements com.sun.xml.xsom.XSXPath.getXPath.

Gets the XPath as a string.

public void
public void
visit(XSVisitor visitor)

Implements com.sun.xml.xsom.XSComponent.visit.

Accepts a visitor.

Inherited from com.sun.xml.xsom.impl.ComponentImpl:
getAnnotationgetAnnotationgetForeignAttributegetForeignAttributesgetLocatorgetOwnerSchemagetRootgetSourceDocumentselectselectSingletoString

Field Detail

parentback to summary
private XSIdentityConstraint parent
xpathback to summary
private final XmlString xpath

Constructor Detail

XPathImplback to summary
public XPathImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, XmlString xpath)

Method Detail

applyback to summary
public <T> T apply(XSFunction<T> function)

Implements com.sun.xml.xsom.XSComponent.apply.

Doc from com.sun.xml.xsom.XSComponent.apply.

Accepts a functor.

getParentback to summary
public XSIdentityConstraint getParent()

Implements com.sun.xml.xsom.XSXPath.getParent.

Doc from com.sun.xml.xsom.XSXPath.getParent.

Returns the XSIdentityConstraint to which this XPath belongs to.

getXPathback to summary
public XmlString getXPath()

Implements com.sun.xml.xsom.XSXPath.getXPath.

Doc from com.sun.xml.xsom.XSXPath.getXPath.

Gets the XPath as a string.

setParentback to summary
public void setParent(XSIdentityConstraint parent)
visitback to summary
public void visit(XSVisitor visitor)

Implements com.sun.xml.xsom.XSComponent.visit.

Doc from com.sun.xml.xsom.XSComponent.visit.

Accepts a visitor.