Public Member Functions | |
| Wildcard (ComplexType complexType) | |
| Wildcard (Group group) | |
| Wildcard (AttributeGroup attGroup) | |
| void | addNamespace (String Namespace) |
| boolean | removeNamespace (String namespace) |
| ComplexType | getComplexType () |
| Group | getModelGroup () |
| AttributeGroup | getAttributeGroup () |
| Schema | getSchema () |
| Enumeration | getNamespaces () |
| String | getProcessContent () |
| boolean | isAttributeWildcard () |
| void | setAttributeWildcard () |
| void | setId (String id) |
| void | setProcessContents (String process) throws SchemaException |
| void | validate () throws ValidationException |
| short | getStructureType () |
A class that represents an XML Schema Wildcard. A wilcard is represented by the XML elements <any> and <anyAttribute> and can be hold in a complexType or in a ModelGroup (<group>).
| org.exolab.castor.xml.schema.Wildcard.Wildcard | ( | ComplexType | complexType | ) |
The wildcard is embedded in a complexType
| ComplexType | the complexType that contains this wildcard |
| org.exolab.castor.xml.schema.Wildcard.Wildcard | ( | Group | group | ) |
The wildcard is embedded in a ModelGroup (<group>)
| group | the ModelGoup that contains this wildcard |
| org.exolab.castor.xml.schema.Wildcard.Wildcard | ( | AttributeGroup | attGroup | ) |
The wildcard is embedded in an AttributeGroup.
| attGroup | the AttributeGroup that contains this wildcard |
| void org.exolab.castor.xml.schema.Wildcard.addNamespace | ( | String | Namespace | ) |
add a namespace
| String | the namespace to add |
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init().
| AttributeGroup org.exolab.castor.xml.schema.Wildcard.getAttributeGroup | ( | ) |
Returns the AttributeGroup that contains this wilcard (can return null)
| ComplexType org.exolab.castor.xml.schema.Wildcard.getComplexType | ( | ) |
Returns the complexType that contains this wildcard, can return null.
| Group org.exolab.castor.xml.schema.Wildcard.getModelGroup | ( | ) |
Returns the model group that contains this wildcard, can return null.
| Enumeration org.exolab.castor.xml.schema.Wildcard.getNamespaces | ( | ) |
Returns an enumeration that contains the different namespaces of this wildcard
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfoForAny().
| String org.exolab.castor.xml.schema.Wildcard.getProcessContent | ( | ) |
Returns the processContent of this wildcard
| Schema org.exolab.castor.xml.schema.Wildcard.getSchema | ( | ) |
Returns the parent schema in which this wildcard is located.
References org.exolab.castor.xml.schema.Structure.COMPLEX_TYPE, org.exolab.castor.xml.schema.Group.getParent(), org.exolab.castor.xml.schema.XMLType.getSchema(), org.exolab.castor.xml.schema.Structure.getStructureType(), org.exolab.castor.xml.schema.Structure.GROUP, and org.exolab.castor.xml.schema.Structure.MODELGROUP.
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfoForAny().
| short org.exolab.castor.xml.schema.Wildcard.getStructureType | ( | ) | [virtual] |
Returns the type of this Schema Structure
Implements org.exolab.castor.xml.schema.Structure.
| boolean org.exolab.castor.xml.schema.Wildcard.isAttributeWildcard | ( | ) |
Returns true if this wildcard represents <anyAttribute> otherwise false
Referenced by org.exolab.castor.builder.MemberFactory.createFieldInfoForAny(), and org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init().
| boolean org.exolab.castor.xml.schema.Wildcard.removeNamespace | ( | String | namespace | ) |
Removes the given namespace from the namespace collection
| namespace | the namespace to remove. |
| void org.exolab.castor.xml.schema.Wildcard.setAttributeWildcard | ( | ) |
Sets this wildcard to represent <anyAttribute>
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init().
| void org.exolab.castor.xml.schema.Wildcard.setId | ( | String | id | ) |
Sets the ID for this Group
| id | the ID for this Group |
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init().
| void org.exolab.castor.xml.schema.Wildcard.setProcessContents | ( | String | process | ) | throws SchemaException |
Sets the processContent of the wildCard
| process | the process content to set |
| SchemaException | thrown when the processContent is not valid |
Referenced by org.exolab.castor.xml.schema.reader.WildcardUnmarshaller.init().
| void org.exolab.castor.xml.schema.Wildcard.validate | ( | ) | throws ValidationException [virtual] |
Checks the validity of this Schema defintion.
| ValidationException | when this Schema definition is invalid. |
Implements org.exolab.castor.xml.schema.Structure.
1.7.0