XSOM 20110809-redhat-3

com.sun.xml.xsom.impl
Class XPathImpl

java.lang.Object
  extended by com.sun.xml.xsom.impl.ComponentImpl
      extended by 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
XPathImpl(SchemaDocumentImpl _owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl fa, XmlString xpath)
           
 
Method Summary
<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.
 
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: 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

XSOM 20110809-redhat-3

Copyright © 2012 Oracle. All Rights Reserved.