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

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.XsTFacetBaseImpl
                  extended bynet.sf.jaxme.xs.xml.impl.XsTFixedFacetImpl
                      extended bynet.sf.jaxme.xs.xml.impl.XsTFacetImpl
All Implemented Interfaces:
XsObject, XsTAnnotated, XsTFacetBase, XsTFixedFacet, XsTOpenAttrs
Direct Known Subclasses:
XsEMaxExclusiveImpl, XsEMaxInclusiveImpl, XsEMinExclusiveImpl, XsEMinInclusiveImpl, XsEWhiteSpaceImpl

public abstract class XsTFacetImpl
extends XsTFixedFacetImpl

Implementation of a facet, following this specification:

  <xs:complexType name="facet">
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:attribute name="value" use="required"/>
        <xs:attribute name="fixed" type="xs:boolean" use="optional"
                    default="false"/>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
 

Author:
Jochen Wiedmann

Constructor Summary
protected XsTFacetImpl(XsObject pParent)
           
 
Method Summary
 java.lang.String getValue()
           
 void setValue(java.lang.String pValue)
           
 void validate()
          Validates the types, attributes, elements, ... internal state.
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTFixedFacetImpl
isFixed, setFixed
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTFacetBaseImpl
getFacetName
 
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.XsTFacetBase
getFacetName
 
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

XsTFacetImpl

protected XsTFacetImpl(XsObject pParent)
Method Detail

setValue

public void setValue(java.lang.String pValue)

getValue

public java.lang.String getValue()

validate

public void validate()
              throws org.xml.sax.SAXException
Description copied from interface: XsObject

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

Specified by:
validate in interface XsObject
Overrides:
validate in class XsObjectImpl
Throws:
org.xml.sax.SAXException