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
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.


Field Summary
(package private)  boolean fixed
           
(package private)  java.lang.Object value
           
 
Fields inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
annotation, id, unhandledAttributes
 
Fields inherited from class org.apache.ws.commons.schema.XmlSchemaObject
lineNumber, linePosition, sourceURI
 
Constructor Summary
protected XmlSchemaFacet()
          Creates new XmlSchemaFacet
protected XmlSchemaFacet(java.lang.Object value, boolean fixed)
           
 
Method Summary
static XmlSchemaFacet construct(org.w3c.dom.Element el)
           
 java.lang.Object getValue()
           
 boolean isFixed()
           
 void setFixed(boolean fixed)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
equals, getLineNumber, getLinePosition, getSourceURI, setLineNumber, setLinePosition, setSourceURI, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fixed

boolean fixed

value

java.lang.Object value
Constructor Detail

XmlSchemaFacet

protected XmlSchemaFacet()
Creates new XmlSchemaFacet


XmlSchemaFacet

protected XmlSchemaFacet(java.lang.Object value,
                         boolean fixed)
Method Detail

isFixed

public boolean isFixed()

setFixed

public void setFixed(boolean fixed)

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

construct

public static XmlSchemaFacet construct(org.w3c.dom.Element el)


Copyright 2004-2004-2006 Apache Software Foundation. All Rights Reserved.