Uses of Class
org.exolab.castor.xml.schema.SchemaException
Packages that use SchemaException
Package
Description
The XML DTD Object Model
-
Uses of SchemaException in org.exolab.castor.xml.dtd
Methods in org.exolab.castor.xml.dtd that throw SchemaExceptionModifier and TypeMethodDescriptionConverter.convertContentParticle
(ContentParticle dtdContent, Schema schema) Method to convertContentParticle
object, used to implement element content in the DTD object model, to the corresponding object in the Schema object model: eitherGroup
orElementDecl
.Converter.convertDTDElementToSchemaElement
(Element dtdElement, Schema schema) Convert DTD Element declaration to Schema Element Declaration.Converter.convertDTDObjectToSchemaObject
(DTDdocument dtd, String targetNamespace, Map nameSpaceMap) Convert DTD document object to corresponding Schema object.void
Converter.convertDTDtoSchema
(Reader reader, Writer writer) Convert DTD document to corresponding XML Schema document.void
Converter.convertDTDtoSchema
(Reader reader, Writer writer, String targetNameSpace, Map<String, String> nameSpaceMap) Convert DTD document to corresponding XML Schema document.static void
Simple command line interface to read an XML DTD file and create corresponding XML Schema file.void
Converter.process
(Reader in, Writer out, String encoding, String targetNamespace, Map<String, String> namespaces) void
Converter.process
(String dtdFile, String schemaFile, String encoding, String targetNamespace, Map<String, String> namespaces) -
Uses of SchemaException in org.exolab.castor.xml.schema
Methods in org.exolab.castor.xml.schema that throw SchemaExceptionModifier and TypeMethodDescriptionvoid
Schema.addAttribute
(AttributeDecl attribute) Adds the given attribute definition to this Schema definitionvoid
RedefineSchema.addAttributeGroup
(AttributeGroupDecl attrGroup) Adds a AttributeGroup name in the list of redefined attributeGroups.void
Schema.addAttributeGroup
(AttributeGroupDecl attrGroup) Adds the given attribute group definition to this Schema definition.void
RedefineSchema.addComplexType
(ComplexType complexType) Adds the given complexType in the list of redefined complexTypes.void
Schema.addComplexType
(ComplexType complexType) Adds the given Complextype definition to this Schema defintionvoid
ComplexType.addElementDecl
(ElementDecl elementDecl) Adds the given ElementDecl to thisContentModelGroup
.void
ContentModelGroup.addElementDecl
(ElementDecl elementDecl) Adds the given ElementDecl to this ContentModelGroup.void
Group.addElementDecl
(ElementDecl elementDecl) Adds the given ElementDecl to this ContentModelGroup.void
Schema.addElementDecl
(ElementDecl elementDecl) Adds the given Element declaration to this Schema defintionvoid
Adds the given Group to thisContentModelGroup
.void
ComplexType.addGroup
(ModelGroup group) Adds the given ModelGroup Definition to thisContentModelGroup
.void
Adds the givenGroup
to thisContentModelGroup
.void
ContentModelGroup.addGroup
(ModelGroup group) Adds the givenModelGroup
definition to thisContentModelGroup
.void
Adds the givenGroup
to thisContentModelGroup
.void
Group.addGroup
(ModelGroup group) Adds the givenModelGroup
definition to thisContentModelGroup
.void
RedefineSchema.addGroup
(ModelGroup group) Adds a group name in the list of redefined groups.void
Schema.addImportedSchema
(Schema schema) Adds the given Schema definition to this Schema definition as an imported schenmavoid
Schema.addModelGroup
(ModelGroup group) Adds the given Group declaration to this Schema definitionvoid
Schema.addRedefineSchema
(RedefineSchema schema) Adds the given redefinition of structures to this Schema definition.void
RedefineSchema.addSimpleType
(SimpleType simpleType) Adds a simpleType in the list of redefined simpleTypes.void
Schema.addSimpleType
(SimpleType simpleType) Adds the given SimpletType definition to this Schema defintionvoid
ComplexType.addWildcard
(Wildcard wildcard) void
ContentModelGroup.addWildcard
(Wildcard wilcard) Adds the givenWildcard
to thisContentModelGroup
.void
Group.addWildcard
(Wildcard wildcard) Adds the givenWildcard
to thisContentModelGroup
.void
Schema.cacheIncludedSchema
(Schema schema) Caches the given Schema definition as an included XML Schema of this Schema definition.void
Facet.checkConstraints
(Enumeration localFacets, Enumeration baseFacets) Checks the constraints on the current facet against the other local facets of the same derived data type and facets of the base data type.void
AttributeGroupDecl.setAnyAttribute
(Wildcard wildcard) Sets the wildcard (anyAttribute) of this attribute Groupvoid
ComplexType.setAnyAttribute
(Wildcard wildcard) Sets the wildcard (anyAttribute) of theComplexType
.void
Sets the name for this IdentityConstraint.void
Wildcard.setProcessContents
(String process) Sets the processContent of the wildCardvoid
Sets the refer field (the name of the key being referenced).void
IdentityConstraint.setSelector
(IdentitySelector selector) Sets the selector for this IdentityConstraint.void
Sets the XPath expression for this Field.void
Sets the XPath expression for this Selector.Constructors in org.exolab.castor.xml.schema that throw SchemaExceptionModifierConstructorDescriptionprotected
IdentityConstraint
(String name) Constructor used by sub-classes.IdentityField
(String xpath) Creates a new IdentityField.IdentitySelector
(String xpath) Creates a new IdentitySelector.Creates a new Key Identity-Constraint.Creates a new KeyRef Identity-Constraint.Creates a new Union type.Creates a new Unique Identity-Constraint. -
Uses of SchemaException in org.exolab.castor.xml.schema.facets
Methods in org.exolab.castor.xml.schema.facets that throw SchemaExceptionModifier and TypeMethodDescriptionvoid
MaxExclusive.checkConstraints
(Enumeration localFacets, Enumeration baseFacets) Validation is performed according to section "4.3.8.4 Constraints on maxExclusive Schema Components" of "XML Schema Part 2: Datatypes Second Edition" document.void
MaxInclusive.checkConstraints
(Enumeration localFacets, Enumeration baseFacets) Validation is performed according to section "4.3.7.4 Constraints on maxInclusive Schema Components" of "XML Schema Part 2: Datatypes Second Edition" document.void
MinExclusive.checkConstraints
(Enumeration localFacets, Enumeration baseFacets) Validation is performed according to section "4.3.9.4 Constraints on minExclusive Schema Components" of "XML Schema Part 2: Datatypes Second Edition" document.void
MinInclusive.checkConstraints
(Enumeration localFacets, Enumeration baseFacets) Validation is performed according to section "4.3.10.4 Constraints on minInclusive Schema Components" of "XML Schema Part 2: Datatypes Second Edition" document. -
Uses of SchemaException in org.exolab.castor.xml.schema.simpletypes
Constructors in org.exolab.castor.xml.schema.simpletypes that throw SchemaException