org.apache.ws.commons.schema
Class XmlSchemaFacet

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObject
      extended by org.apache.ws.commons.schema.XmlSchemaAnnotated
          extended by org.apache.ws.commons.schema.XmlSchemaFacet
All Implemented Interfaces:
XmlSchemaObjectBase
Direct Known Subclasses:
XmlSchemaEnumerationFacet, XmlSchemaMaxExclusiveFacet, XmlSchemaMaxInclusiveFacet, XmlSchemaMinExclusiveFacet, XmlSchemaMinInclusiveFacet, XmlSchemaNumericFacet, XmlSchemaPatternFacet, XmlSchemaWhiteSpaceFacet

public abstract class XmlSchemaFacet
extends XmlSchemaAnnotated

Abstract class for all facets that are used when simple types are derived by restriction.


Constructor Summary
protected XmlSchemaFacet()
          Creates new XmlSchemaFacet
protected XmlSchemaFacet(Object value, boolean fixed)
           
 
Method Summary
static XmlSchemaFacet construct(Element el)
           
 Object getValue()
           
 boolean isFixed()
           
 void setFixed(boolean fixed)
           
 void setValue(Object value)
           
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes, toString
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlSchemaFacet

protected XmlSchemaFacet()
Creates new XmlSchemaFacet


XmlSchemaFacet

protected XmlSchemaFacet(Object value,
                         boolean fixed)
Method Detail

construct

public static XmlSchemaFacet construct(Element el)

getValue

public Object getValue()

isFixed

public boolean isFixed()

setFixed

public void setFixed(boolean fixed)

setValue

public void setValue(Object value)


Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.