public class XPathImpl extends ComponentImpl implements XSXPath
ownerDocument
Constructor and Description |
---|
XPathImpl(SchemaDocumentImpl _owner,
AnnotationImpl _annon,
Locator _loc,
ForeignAttributesImpl fa,
XmlString xpath) |
Modifier and Type | Method and Description |
---|---|
<T> T |
apply(XSFunction<T> function)
Accepts a functor.
|
XSIdentityConstraint |
getParent()
Returns the
XSIdentityConstraint to which
this XPath belongs to. |
XmlString |
getXPath()
Gets the XPath as a string.
|
void |
setParent(XSIdentityConstraint parent) |
void |
visit(XSVisitor visitor)
Accepts a visitor.
|
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
public XPathImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, XmlString xpath)
public void setParent(XSIdentityConstraint parent)
public XSIdentityConstraint getParent()
XSXPath
XSIdentityConstraint
to which
this XPath belongs to.public XmlString getXPath()
XSXPath
public void visit(XSVisitor visitor)
XSComponent
visit
in interface XSComponent
public <T> T apply(XSFunction<T> function)
XSComponent
apply
in interface XSComponent
Copyright © 2021 JBoss by Red Hat. All rights reserved.