org.apache.ws.commons.schema
Class XmlSchemaDerivationMethod

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaDerivationMethod

public class XmlSchemaDerivationMethod
extends Object

Values for block and final attributes. Generally, either no value isNone() returns true), isAll() returns true, or any number of the other booleans return true.


Field Summary
static XmlSchemaDerivationMethod NONE
           
 
Constructor Summary
XmlSchemaDerivationMethod()
           
 
Method Summary
 boolean isAll()
           
 boolean isEmpty()
           
 boolean isExtension()
           
 boolean isList()
           
 boolean isNone()
           
 boolean isRestriction()
           
 boolean isSubstitution()
           
 boolean isUnion()
           
 boolean notAll()
           
static XmlSchemaDerivationMethod schemaValueOf(String name)
           
 void setAll(boolean all)
           
 void setEmpty(boolean empty)
           
 void setExtension(boolean extension)
           
 void setList(boolean list)
           
 void setNone(boolean none)
           
 void setRestriction(boolean restriction)
           
 void setSubstitution(boolean substitution)
           
 void setUnion(boolean union)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final XmlSchemaDerivationMethod NONE
Constructor Detail

XmlSchemaDerivationMethod

public XmlSchemaDerivationMethod()
Method Detail

schemaValueOf

public static XmlSchemaDerivationMethod schemaValueOf(String name)

toString

public String toString()
Overrides:
toString in class Object

notAll

public boolean notAll()

isAll

public boolean isAll()

setAll

public void setAll(boolean all)

isEmpty

public boolean isEmpty()

setEmpty

public void setEmpty(boolean empty)

isExtension

public boolean isExtension()

setExtension

public void setExtension(boolean extension)

isList

public boolean isList()

setList

public void setList(boolean list)

isNone

public boolean isNone()

setNone

public void setNone(boolean none)

isRestriction

public boolean isRestriction()

setRestriction

public void setRestriction(boolean restriction)

isSubstitution

public boolean isSubstitution()

setSubstitution

public void setSubstitution(boolean substitution)

isUnion

public boolean isUnion()

setUnion

public void setUnion(boolean union)


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