net.sf.jaxme.xs.xml.impl
Class XsESelectorImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.xml.impl.XsObjectImpl
      extended bynet.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended bynet.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended bynet.sf.jaxme.xs.xml.impl.XsESelectorImpl
All Implemented Interfaces:
XsESelector, XsObject, XsTAnnotated, XsTOpenAttrs

public class XsESelectorImpl
extends XsTAnnotatedImpl
implements XsESelector

Interface of the xs:selector element, specified by the following:

   
     
       
     
     
       
         
           
             
               
                 
                   A subset of XPath expressions for use
                   in selectors
                 
                 
                   A utility type, not for public use
                 
               
               
                 
                   
                     The following pattern is intended to allow XPath
                     expressions per the following EBNF:
                       Selector    ::=    Path ( '|' Path )*
                       Path        ::=    ('.//')? Step ( '/' Step )*
                       Step    ::=    '.' | NameTest
                       NameTest    ::=    QName | '*' | NCName ':' '*'
                                          child:: is also allowed
                   
                 
                 
                 
               
             
           
         
       
     
   
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsESelectorImpl(XsObject pParent)
           
 
Method Summary
 XsToken getXpath()
           
 void setXpath(XsToken pXpath)
           
 void validate()
          Validates the types, attributes, elements, ... internal state.
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
getOpenAttributes, setAttribute
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject
 

Constructor Detail

XsESelectorImpl

protected XsESelectorImpl(XsObject pParent)
Method Detail

setXpath

public void setXpath(XsToken pXpath)
Specified by:
setXpath in interface XsESelector

getXpath

public XsToken getXpath()
Specified by:
getXpath in interface XsESelector

validate

public void validate()
Description copied from interface: XsObject

Validates the types, attributes, elements, ... internal state.

Specified by:
validate in interface XsObject
Overrides:
validate in class XsObjectImpl