|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.ispsoft.jaxme.generator.SchemaAnnotationOwner de.ispsoft.jaxme.generator.Schema
A Schema is a list of one or more SchemaElements. Schemas are typically created by using a SchemaReader.
Field Summary | |
protected java.util.List |
elements
|
Constructor Summary | |
Schema()
Creates a new Schema with an empty SchemaElement list. |
Method Summary | |
void |
addSchemaElement(SchemaElement pElement)
Adds a new SchemaElement to the list of SchemaElements. |
void |
clearSchemaElements()
Clears the list of SchemaElements. |
boolean |
getAttributeFormDefaultQualified()
Returns whether attributes are by default qualified. |
boolean |
getElementFormDefaultQualified()
Returns whether elements are by default qualified. |
Schema |
getSchema()
Returns the schema. |
java.util.Iterator |
getSchemaElements()
Returns an iterator to the list of SchemaElements. |
java.lang.String |
getTargetNamespace()
Returns the target namespace. |
void |
setAttributeFormDefaultQualified(boolean pAttributeFormDefaultQualified)
Sets whether attributes are by default qualified. |
void |
setElementFormDefaultQualified(boolean pElementFormDefaultQualified)
Sets whether elements are by default qualified. |
void |
setTargetNamespace(java.lang.String pTargetNamespace)
Sets the target namespace. |
Methods inherited from class de.ispsoft.jaxme.generator.SchemaAnnotationOwner |
getAccessors, getDocumentation, getExtendsClassName, getPackageName, setAccessors, setDocumentation, setExtendsClassName, setPackageName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.List elements
Constructor Detail |
public Schema()
Method Detail |
public java.util.Iterator getSchemaElements()
Returns an iterator to the list of SchemaElements. This iterator is not "live": Changes in the actual list won't be reflected in the iteration. Likewise, calling the iterators remove() method won't affect the actual list.
addSchemaElement(de.ispsoft.jaxme.generator.SchemaElement)
,
clearSchemaElements()
public void addSchemaElement(SchemaElement pElement)
Adds a new SchemaElement to the list of SchemaElements.
getSchemaElements()
,
clearSchemaElements()
public void clearSchemaElements()
Clears the list of SchemaElements.
public java.lang.String getTargetNamespace()
Returns the target namespace.
public void setTargetNamespace(java.lang.String pTargetNamespace)
Sets the target namespace.
public boolean getElementFormDefaultQualified()
Returns whether elements are by default qualified.
public void setElementFormDefaultQualified(boolean pElementFormDefaultQualified)
Sets whether elements are by default qualified.
public boolean getAttributeFormDefaultQualified()
Returns whether attributes are by default qualified.
public void setAttributeFormDefaultQualified(boolean pAttributeFormDefaultQualified)
Sets whether attributes are by default qualified.
public Schema getSchema()
SchemaAnnotationOwner
Returns the schema.
getSchema
in class SchemaAnnotationOwner
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |