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

Class XsTFacetImpl

Implemented Interfaces:
XsObject, XsTAnnotated, XsTFacetBase, XsTFixedFacet, XsTOpenAttrs
Known Direct 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

XsTFacetImpl(XsObject pParent)

Method Summary

String
getValue()
void
setValue(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, validate

Constructor Details

XsTFacetImpl

protected XsTFacetImpl(XsObject pParent)

Method Details

getValue

public String getValue()

setValue

public void setValue(String pValue)

validate

public void validate()
            throws SAXException
Validates the internal state of the type, attribute, element, or whatever object.
Specified by:
validate in interface XsObject
Overrides:
validate in interface XsObjectImpl