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

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.XsTKeybaseImpl
All Implemented Interfaces:
XsObject, XsTAnnotated, XsTKeybase, XsTOpenAttrs
Direct Known Subclasses:
XsEKeyImpl, XsEKeyrefImpl, XsEUniqueImpl

public class XsTKeybaseImpl
extends XsTAnnotatedImpl
implements XsTKeybase

Implementation of the xs:keybase type, with the following specification:

  <xs:complexType name="keybase">
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:sequence>
          <xs:element ref="xs:selector"/>
          <xs:element ref="xs:field" minOccurs="1" maxOccurs="unbounded"/>
        </xs:sequence>
        <xs:attribute name="name" type="xs:NCName" use="required"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsTKeybaseImpl(XsObject pParent)
           
 
Method Summary
 XsEField createField()
           
 XsESelector createSelector()
           
 XsEField[] getFields()
           
 XsNCName getName()
           
 XsESelector getSelector()
           
 void setName(XsNCName pName)
           
 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

XsTKeybaseImpl

protected XsTKeybaseImpl(XsObject pParent)
Method Detail

createSelector

public XsESelector createSelector()
Specified by:
createSelector in interface XsTKeybase

getSelector

public XsESelector getSelector()
Specified by:
getSelector in interface XsTKeybase

createField

public XsEField createField()
Specified by:
createField in interface XsTKeybase

getFields

public XsEField[] getFields()
Specified by:
getFields in interface XsTKeybase

setName

public void setName(XsNCName pName)
Specified by:
setName in interface XsTKeybase

getName

public XsNCName getName()
Specified by:
getName in interface XsTKeybase

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