Package | Description |
---|---|
org.exolab.castor.xml.dtd |
The XML DTD Object Model
|
org.exolab.castor.xml.schema | |
org.exolab.castor.xml.schema.facets | |
org.exolab.castor.xml.schema.simpletypes |
Modifier and Type | Method and Description |
---|---|
Particle |
Converter.convertContentParticle(ContentParticle dtdContent,
Schema schema)
Method to convert
ContentParticle object, used to implement element content in the DTD
object model, to the corresponding object in the Schema object model:
either Group or
ElementDecl . |
ElementDecl |
Converter.convertDTDElementToSchemaElement(Element dtdElement,
Schema schema)
Convert DTD Element declaration to Schema Element Declaration.
|
Schema |
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 |
Converter.main(String[] args)
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) |
Modifier and Type | Method and Description |
---|---|
void |
Schema.addAttribute(AttributeDecl attribute)
Adds the given attribute definition to this Schema definition
|
void |
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 defintion
|
void |
Group.addElementDecl(ElementDecl elementDecl)
Adds the given ElementDecl to this ContentModelGroup.
|
void |
ContentModelGroup.addElementDecl(ElementDecl elementDecl)
Adds the given ElementDecl to this ContentModelGroup.
|
void |
ComplexType.addElementDecl(ElementDecl elementDecl)
Adds the given ElementDecl to this
ContentModelGroup . |
void |
Schema.addElementDecl(ElementDecl elementDecl)
Adds the given Element declaration to this Schema defintion
|
void |
Group.addGroup(Group group)
Adds the given
Group to this ContentModelGroup . |
void |
ContentModelGroup.addGroup(Group group)
Adds the given
Group to this ContentModelGroup . |
void |
ComplexType.addGroup(Group group)
Adds the given Group to this
ContentModelGroup . |
void |
Group.addGroup(ModelGroup group)
Adds the given
ModelGroup definition to this ContentModelGroup . |
void |
ContentModelGroup.addGroup(ModelGroup group)
Adds the given
ModelGroup definition to this ContentModelGroup . |
void |
ComplexType.addGroup(ModelGroup group)
Adds the given ModelGroup Definition to this
ContentModelGroup . |
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 schenma
|
void |
Schema.addModelGroup(ModelGroup group)
Adds the given Group declaration to this Schema definition
|
void |
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 defintion
|
void |
Group.addWildcard(Wildcard wildcard)
Adds the given
Wildcard to this ContentModelGroup . |
void |
ContentModelGroup.addWildcard(Wildcard wilcard)
Adds the given
Wildcard to this ContentModelGroup . |
void |
ComplexType.addWildcard(Wildcard wildcard) |
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 |
ComplexType.setAnyAttribute(Wildcard wildcard)
Sets the wildcard (anyAttribute) of the
ComplexType . |
void |
AttributeGroupDecl.setAnyAttribute(Wildcard wildcard)
Sets the wildcard (anyAttribute) of this attribute Group
|
void |
IdentityConstraint.setName(String name)
Sets the name for this IdentityConstraint.
|
void |
Wildcard.setProcessContents(String process)
Sets the processContent of the wildCard
|
void |
KeyRef.setRefer(String refer)
Sets the refer field (the name of the key being referenced).
|
void |
IdentityConstraint.setSelector(IdentitySelector selector)
Sets the selector for this IdentityConstraint.
|
void |
IdentitySelector.setXPath(String xpath)
Sets the XPath expression for this Selector.
|
void |
IdentityField.setXPath(String xpath)
Sets the XPath expression for this Field.
|
Constructor and Description |
---|
IdentityConstraint(String name)
Constructor used by sub-classes.
|
IdentityField(String xpath)
Creates a new IdentityField.
|
IdentitySelector(String xpath)
Creates a new IdentitySelector.
|
Key(String name)
Creates a new Key Identity-Constraint.
|
KeyRef(String name,
String refer)
Creates a new KeyRef Identity-Constraint.
|
Union(Schema schema)
Creates a new Union type.
|
Unique(String name)
Creates a new Unique Identity-Constraint.
|
Constructor and Description |
---|
ListType(Schema schema)
Creates a new ListType.
|
Copyright © 2022. All rights reserved.