org.apache.ws.jaxme.xs.xml.impl
Class XsTFacetImpl

java.lang.Object
  extended by org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
      extended by org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended by org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended by org.apache.ws.jaxme.xs.xml.impl.XsTFacetBaseImpl
                  extended by org.apache.ws.jaxme.xs.xml.impl.XsTFixedFacetImpl
                      extended by org.apache.ws.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 internal state of the type, attribute, element, or whatever object.
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTFixedFacetImpl
isFixed, setFixed
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTFacetBaseImpl
getFacetName
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTAnnotatedImpl
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsTOpenAttrsImpl
getOpenAttributes, setAttribute
 
Methods inherited from class org.apache.ws.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, 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 org.apache.ws.jaxme.xs.xml.XsTFacetBase
getFacetName
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface org.apache.ws.jaxme.xs.xml.XsTOpenAttrs
getOpenAttributes
 
Methods inherited from interface org.apache.ws.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 internal state of the type, attribute, element, or whatever object.

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