|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.commons.schema.XmlSchemaObject
org.apache.ws.commons.schema.XmlSchemaAnnotated
org.apache.ws.commons.schema.XmlSchemaParticle
org.apache.ws.commons.schema.XmlSchemaElement
public class XmlSchemaElement
Class for elements. Represents the World Wide Web Consortium (W3C) element element.
Field Summary | |
---|---|
(package private) XmlSchemaDerivationMethod |
block
Attribute used to block a type derivation. |
(package private) XmlSchemaDerivationMethod |
blockResolved
The value after an element has been compiled to post-schema infoset. |
(package private) XmlSchemaObjectCollection |
constraints
|
(package private) java.lang.String |
defaultValue
Provides the default value of the element if its content is a simple type or the element's content is textOnly. |
(package private) java.lang.Object |
elementType
Returns the correct common runtime library object based upon the SchemaType for the element. |
(package private) XmlSchemaDerivationMethod |
finalDerivation
|
(package private) XmlSchemaDerivationMethod |
finalDerivationResolved
|
(package private) java.lang.String |
fixedValue
|
(package private) XmlSchemaForm |
form
The default value is the value of the elementFormDefault attribute for the schema element containing the attribute. |
(package private) boolean |
isAbstract
|
(package private) boolean |
isNillable
|
(package private) java.lang.String |
name
|
(package private) javax.xml.namespace.QName |
qualifiedName
|
(package private) javax.xml.namespace.QName |
refName
|
(package private) XmlSchemaType |
schemaType
Returns the type of the element. |
(package private) javax.xml.namespace.QName |
schemaTypeName
QName of a built-in data type defined in this schema or another schema indicated by the specified namespace. |
(package private) javax.xml.namespace.QName |
substitutionGroup
QName of an element that can be a substitute for this element. |
Fields inherited from class org.apache.ws.commons.schema.XmlSchemaParticle |
---|
maxOccurs, maxOccursString, minOccurs, minOccursString |
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 | |
---|---|
XmlSchemaElement()
Creates new XmlSchemaElement |
Method Summary | |
---|---|
XmlSchemaDerivationMethod |
getBlock()
|
XmlSchemaDerivationMethod |
getBlockResolved()
|
XmlSchemaObjectCollection |
getConstraints()
Returns a collection of constraints on the element. |
java.lang.String |
getDefaultValue()
|
java.lang.Object |
getElementType()
|
XmlSchemaDerivationMethod |
getFinal()
|
java.lang.String |
getFixedValue()
|
XmlSchemaForm |
getForm()
|
java.lang.String |
getName()
|
javax.xml.namespace.QName |
getQName()
|
javax.xml.namespace.QName |
getRefName()
|
XmlSchemaType |
getSchemaType()
|
javax.xml.namespace.QName |
getSchemaTypeName()
|
javax.xml.namespace.QName |
getSubstitutionGroup()
|
boolean |
isAbstract()
|
boolean |
isNillable()
|
void |
setAbstract(boolean isAbstract)
|
void |
setBlock(XmlSchemaDerivationMethod block)
|
void |
setDefaultValue(java.lang.String defaultValue)
|
void |
setFinal(XmlSchemaDerivationMethod finalDerivation)
|
void |
setFixedValue(java.lang.String fixedValue)
|
void |
setForm(XmlSchemaForm form)
|
void |
setName(java.lang.String name)
|
void |
setNillable(boolean isNillable)
|
void |
setQName(javax.xml.namespace.QName qualifiedName)
|
void |
setRefName(javax.xml.namespace.QName refName)
|
void |
setSchemaType(XmlSchemaType schemaType)
|
void |
setSchemaTypeName(javax.xml.namespace.QName schemaTypeName)
|
void |
setSubstitutionGroup(javax.xml.namespace.QName substitutionGroup)
|
void |
setType(XmlSchemaType type)
|
java.lang.String |
toString(java.lang.String prefix,
int tab)
|
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaParticle |
---|
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs |
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 |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
XmlSchemaDerivationMethod block
XmlSchemaDerivationMethod blockResolved
XmlSchemaObjectCollection constraints
java.lang.String defaultValue
java.lang.String fixedValue
java.lang.Object elementType
XmlSchemaDerivationMethod finalDerivation
XmlSchemaDerivationMethod finalDerivationResolved
XmlSchemaForm form
boolean isAbstract
boolean isNillable
java.lang.String name
javax.xml.namespace.QName qualifiedName
javax.xml.namespace.QName refName
XmlSchemaType schemaType
javax.xml.namespace.QName schemaTypeName
javax.xml.namespace.QName substitutionGroup
Constructor Detail |
---|
public XmlSchemaElement()
Method Detail |
---|
public XmlSchemaObjectCollection getConstraints()
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
public XmlSchemaDerivationMethod getBlock()
public void setBlock(XmlSchemaDerivationMethod block)
public XmlSchemaDerivationMethod getFinal()
public void setFinal(XmlSchemaDerivationMethod finalDerivation)
public XmlSchemaDerivationMethod getBlockResolved()
public java.lang.String getFixedValue()
public void setFixedValue(java.lang.String fixedValue)
public java.lang.Object getElementType()
public XmlSchemaForm getForm()
public void setForm(XmlSchemaForm form)
public boolean isAbstract()
public void setAbstract(boolean isAbstract)
public boolean isNillable()
public void setNillable(boolean isNillable)
public java.lang.String getName()
public void setName(java.lang.String name)
public javax.xml.namespace.QName getRefName()
public void setRefName(javax.xml.namespace.QName refName)
public javax.xml.namespace.QName getQName()
public void setQName(javax.xml.namespace.QName qualifiedName)
public XmlSchemaType getSchemaType()
public void setSchemaType(XmlSchemaType schemaType)
public javax.xml.namespace.QName getSchemaTypeName()
public void setSchemaTypeName(javax.xml.namespace.QName schemaTypeName)
public javax.xml.namespace.QName getSubstitutionGroup()
public void setSubstitutionGroup(javax.xml.namespace.QName substitutionGroup)
public java.lang.String toString(java.lang.String prefix, int tab)
toString
in class XmlSchemaObject
public void setType(XmlSchemaType type)
setType
in interface TypeReceiver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |