| Package | Description |
|---|---|
| org.apache.ws.commons.schema | |
| org.apache.ws.commons.schema.utils | |
| org.apache.ws.commons.schema.walker |
Walking XML Schemas
|
| Modifier and Type | Field and Description |
|---|---|
(package private) XmlSchema |
SchemaBuilder.currentSchema |
(package private) XmlSchema |
XmlSchemaExternal.schema |
(package private) XmlSchema |
XmlSchemaCollection.xsd |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,XmlSchema> |
XmlSchemaCollection.knownNamespaceMap
This map contains a list of Schema objects keyed in by their namespaces.
|
(package private) static java.lang.ThreadLocal<java.util.Map<java.lang.String,java.lang.ref.SoftReference<XmlSchema>>> |
SchemaBuilder.resolvedSchemas |
private java.util.Map<XmlSchemaCollection.SchemaKey,XmlSchema> |
XmlSchemaCollection.schemas
Map of included schemas.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) XmlSchema |
SchemaBuilder.build(org.w3c.dom.Document doc,
java.lang.String uri)
build method taking in a document and a validation handler
|
private XmlSchema |
SchemaBuilder.getCachedSchema(java.lang.String targetNamespace,
java.lang.String schemaLocation,
java.lang.String baseUri)
Return a cached schema if one exists for this thread.
|
(package private) XmlSchema |
XmlSchemaCollection.getKnownSchema(java.lang.String namespace)
gets a schema from the external namespace map
|
XmlSchema |
XmlSchemaNotation.getParent() |
XmlSchema |
XmlSchemaGroup.getParent() |
XmlSchema |
XmlSchemaType.getParent() |
XmlSchema |
XmlSchemaAttribute.getParent() |
XmlSchema |
XmlSchemaAttributeGroup.getParent() |
XmlSchema |
XmlSchemaElement.getParent() |
XmlSchema |
XmlSchemaExternal.getSchema() |
private XmlSchema |
XmlSchema.getSchema(java.lang.Object includeOrImport)
Get a schema from an import
|
(package private) XmlSchema |
XmlSchemaCollection.getSchema(XmlSchemaCollection.SchemaKey pKey)
Get a schema given a SchemaKey
|
XmlSchema[] |
XmlSchemaCollection.getXmlSchema(java.lang.String systemId)
Retrieve a set containing the XmlSchema instances with the given system ID.
|
XmlSchema[] |
XmlSchemaCollection.getXmlSchemas()
Returns an array of all the XmlSchemas in this collection.
|
(package private) XmlSchema |
SchemaBuilder.handleXmlSchemaElement(org.w3c.dom.Element schemaEl,
java.lang.String systemId)
handles the schema element
|
XmlSchema |
XmlSchemaCollection.read(org.w3c.dom.Document doc)
Read an XML schema into the collection from a DOM document.
|
XmlSchema |
XmlSchemaCollection.read(org.w3c.dom.Document doc,
java.lang.String systemId)
Read an XML Schema from a complete XSD XML DOM Document into this collection.
|
XmlSchema |
XmlSchemaCollection.read(org.w3c.dom.Document doc,
java.lang.String systemId,
TargetNamespaceValidator validator)
Read an XML Schema from a complete XSD XML DOM Document into this collection.
|
XmlSchema |
XmlSchemaCollection.read(org.w3c.dom.Element elem)
Read an XML Schema into the collection from a DOM element.
|
XmlSchema |
XmlSchemaCollection.read(org.w3c.dom.Element elem,
java.lang.String systemId)
Read a schema from a DOM tree into the collection.
|
XmlSchema |
XmlSchemaCollection.read(org.xml.sax.InputSource inputSource)
Read an XML schema into the collection from a SAX InputSource.
|
(package private) XmlSchema |
XmlSchemaCollection.read(org.xml.sax.InputSource inputSource,
TargetNamespaceValidator namespaceValidator) |
XmlSchema |
XmlSchemaCollection.read(java.io.Reader r) |
XmlSchema |
XmlSchemaCollection.read(javax.xml.transform.Source source)
Read an XML schema into the collection from a TRaX source.
|
(package private) XmlSchema |
SchemaBuilder.resolveXmlSchema(java.lang.String targetNamespace,
java.lang.String schemaLocation,
java.lang.String baseUri,
TargetNamespaceValidator validator)
Resolve the schemas
|
(package private) XmlSchema |
SchemaBuilder.resolveXmlSchema(java.lang.String targetNamespace,
java.lang.String schemaLocation,
TargetNamespaceValidator validator)
Resolve the schemas
|
XmlSchema |
XmlSchemaCollection.schemaForNamespace(java.lang.String uri)
Return the schema from this collection for a particular targetNamespace.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,XmlSchema> |
XmlSchemaCollection.getKnownNamespaceMap()
get the namespace map
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
XmlSchemaCollection.addSchema(XmlSchemaCollection.SchemaKey pKey,
XmlSchema pSchema) |
private void |
XmlSchemaCollection.addSimpleType(XmlSchema schema,
java.lang.String typeName) |
private void |
XmlSchemaSerializer.appendElement(org.w3c.dom.Document doc,
org.w3c.dom.Element parent,
org.w3c.dom.Node children,
XmlSchema schema) |
private org.w3c.dom.Element |
XmlSchemaSerializer.constructFacet(XmlSchemaFacet facetObj,
org.w3c.dom.Document doc,
XmlSchema schema,
java.lang.String tagName) |
private XmlSchemaAll |
SchemaBuilder.handleAll(XmlSchema schema,
org.w3c.dom.Element allEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaAny |
SchemaBuilder.handleAny(XmlSchema schema,
org.w3c.dom.Element anyEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaAnyAttribute |
SchemaBuilder.handleAnyAttribute(XmlSchema schema,
org.w3c.dom.Element anyAttrEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaAttribute |
SchemaBuilder.handleAttribute(XmlSchema schema,
org.w3c.dom.Element attrEl,
org.w3c.dom.Element schemaEl)
Process non-toplevel attributes
|
private XmlSchemaAttribute |
SchemaBuilder.handleAttribute(XmlSchema schema,
org.w3c.dom.Element attrEl,
org.w3c.dom.Element schemaEl,
boolean topLevel)
Process attributes
|
private XmlSchemaAttributeGroup |
SchemaBuilder.handleAttributeGroup(XmlSchema schema,
org.w3c.dom.Element groupEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaAttributeGroupRef |
SchemaBuilder.handleAttributeGroupRef(XmlSchema schema,
org.w3c.dom.Element attrGroupEl) |
private XmlSchemaChoice |
SchemaBuilder.handleChoice(XmlSchema schema,
org.w3c.dom.Element choiceEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaComplexContent |
SchemaBuilder.handleComplexContent(XmlSchema schema,
org.w3c.dom.Element complexEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaComplexContentExtension |
SchemaBuilder.handleComplexContentExtension(XmlSchema schema,
org.w3c.dom.Element extEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaComplexContentRestriction |
SchemaBuilder.handleComplexContentRestriction(XmlSchema schema,
org.w3c.dom.Element restrictionEl,
org.w3c.dom.Element schemaEl) |
(package private) XmlSchemaComplexType |
SchemaBuilder.handleComplexType(XmlSchema schema,
org.w3c.dom.Element complexEl,
org.w3c.dom.Element schemaEl,
boolean topLevel)
Handle complex types
|
(package private) XmlSchemaElement |
SchemaBuilder.handleElement(XmlSchema schema,
org.w3c.dom.Element el,
org.w3c.dom.Element schemaEl,
boolean isGlobal)
handle elements
|
private XmlSchemaGroup |
SchemaBuilder.handleGroup(XmlSchema schema,
org.w3c.dom.Element groupEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaGroupRef |
SchemaBuilder.handleGroupRef(XmlSchema schema,
org.w3c.dom.Element groupEl,
org.w3c.dom.Element schemaEl) |
(package private) XmlSchemaImport |
SchemaBuilder.handleImport(XmlSchema schema,
org.w3c.dom.Element importEl,
org.w3c.dom.Element schemaEl)
Handle the import
|
(package private) XmlSchemaInclude |
SchemaBuilder.handleInclude(XmlSchema schema,
org.w3c.dom.Element includeEl,
org.w3c.dom.Element schemaEl)
Handles the include
|
private XmlSchemaNotation |
SchemaBuilder.handleNotation(XmlSchema schema,
org.w3c.dom.Element notationEl) |
private XmlSchemaRedefine |
SchemaBuilder.handleRedefine(XmlSchema schema,
org.w3c.dom.Element redefineEl,
org.w3c.dom.Element schemaEl)
Handle redefine
|
private XmlSchemaSequence |
SchemaBuilder.handleSequence(XmlSchema schema,
org.w3c.dom.Element sequenceEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaSimpleContent |
SchemaBuilder.handleSimpleContent(XmlSchema schema,
org.w3c.dom.Element simpleEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaSimpleContentExtension |
SchemaBuilder.handleSimpleContentExtension(XmlSchema schema,
org.w3c.dom.Element extEl,
org.w3c.dom.Element schemaEl) |
private XmlSchemaSimpleContentRestriction |
SchemaBuilder.handleSimpleContentRestriction(XmlSchema schema,
org.w3c.dom.Element restrictionEl,
org.w3c.dom.Element schemaEl) |
(package private) XmlSchemaSimpleType |
SchemaBuilder.handleSimpleType(XmlSchema schema,
org.w3c.dom.Element simpleEl,
org.w3c.dom.Element schemaEl,
boolean topLevel)
Handles simple types
|
private void |
SchemaBuilder.handleSimpleTypeList(XmlSchema schema,
org.w3c.dom.Element schemaEl,
XmlSchemaSimpleType simpleType,
org.w3c.dom.Element listEl) |
private void |
SchemaBuilder.handleSimpleTypeRestriction(XmlSchema schema,
org.w3c.dom.Element schemaEl,
XmlSchemaSimpleType simpleType,
org.w3c.dom.Element restrictionEl) |
private void |
SchemaBuilder.handleSimpleTypeUnion(XmlSchema schema,
org.w3c.dom.Element schemaEl,
XmlSchemaSimpleType simpleType,
org.w3c.dom.Element unionEl) |
private TargetNamespaceValidator |
SchemaBuilder.newIncludeValidator(XmlSchema schema) |
private void |
SchemaBuilder.putCachedSchema(java.lang.String targetNamespace,
java.lang.String schemaLocation,
java.lang.String baseUri,
XmlSchema readSchema)
Add an XmlSchema to the cache if the current thread has the cache enabled.
|
private java.lang.String |
XmlSchemaSerializer.resolveQName(javax.xml.namespace.QName names,
XmlSchema schemaObj)
will search whether the prefix is available in global hash table, if it is there than append the prefix
to the element name.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeAll(org.w3c.dom.Document doc,
XmlSchemaAll allObj,
XmlSchema schema)
Serialize an 'all' item.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeAnnotation(org.w3c.dom.Document doc,
XmlSchemaAnnotation annotationObj,
XmlSchema schema)
********************************************************************* Element
serializeAnnotation(Document doc, XmlSchemaAnnotation annotationObj, XmlSchema schema)
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeAny(org.w3c.dom.Document doc,
XmlSchemaAny anyObj,
XmlSchema schema)
********************************************************************* Element serializeAny(Document
doc, XmlSchemaAny anyObj, XmlSchema schema)
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeAnyAttribute(org.w3c.dom.Document doc,
XmlSchemaAnyAttribute anyAttributeObj,
XmlSchema schema)
********************************************************************* Element
serializeAnyAttribute(Document doc, XmlSchemaAnyAttribute anyAttributeObj, XmlSchema schema)
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeAppInfo(org.w3c.dom.Document doc,
XmlSchemaAppInfo appInfoObj,
XmlSchema schema)
********************************************************************* Element serializeAppInfo(Document
doc,XmlSchemaAppInfo appInfoObj, XmlSchema schema)
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeAttribute(org.w3c.dom.Document doc,
XmlSchemaAttribute attributeObj,
XmlSchema schema)
********************************************************************* Element
serializeAttribute(Document doc, XmlSchemaAttribute attributeObj, XmlSchema schema) throws
XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeAttributeGroup(org.w3c.dom.Document doc,
XmlSchemaAttributeGroup attributeGroupObj,
XmlSchema schema)
********************************************************************* Element
serializeAttributeGroup(Document doc, XmlSchemaAttributeGroup attributeGroupObj, XmlSchema schema)
throws XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeAttributeGroupRef(org.w3c.dom.Document doc,
XmlSchemaAttributeGroupRef attributeGroupObj,
XmlSchema schema)
********************************************************************* Element
serializeAttributeGroupRef(Document doc, XmlSchemaAttributeGroupRef attributeGroupObj, XmlSchema
schema) throws XmlSchemaSerializerException
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeChoice(org.w3c.dom.Document doc,
XmlSchemaChoice choiceObj,
XmlSchema schema)
********************************************************************* Element serializeChoice(Document
doc, XmlSchemaChoice choiceObj, XmlSchema schema) throws XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeComplexContent(org.w3c.dom.Document doc,
XmlSchemaComplexContent complexContentObj,
XmlSchema schema)
********************************************************************* Element
serializeComplexContent(Document doc, XmlSchemaComplexContent complexContentObj, XmlSchema schema)
throws XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeComplexContentExtension(org.w3c.dom.Document doc,
XmlSchemaComplexContentExtension extensionObj,
XmlSchema schema)
********************************************************************* Element
serializeComplexContentExtension(Document doc, XmlSchemaComplexContentExtension extensionObj, XmlSchema
schema) throws XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeComplexContentRestriction(org.w3c.dom.Document doc,
XmlSchemaComplexContentRestriction restrictionObj,
XmlSchema schema)
********************************************************************* Element
serializeComplexContentRestriction(Document doc, XmlSchemaComplexContentRestriction restrictionObj,
XmlSchema schema) throws XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeComplexType(org.w3c.dom.Document doc,
XmlSchemaComplexType complexTypeObj,
XmlSchema schema)
********************************************************************* Element
serializeComplexType(Document doc, XmlSchemaComplexType complexTypeObj, XmlSchema schema) throws
XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeDocumentation(org.w3c.dom.Document doc,
XmlSchemaDocumentation documentationObj,
XmlSchema schema)
********************************************************************* Element
serializeDocumentation(Document doc,XmlSchemaDocumentation documentationObj, XmlSchema schema){
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeElement(org.w3c.dom.Document doc,
XmlSchemaElement elementObj,
XmlSchema schema)
********************************************************************* Element serializeElement(Document
doc, XmlSchemaElement elementObj, XmlSchema schema) throws XmlSchemaSerializerException
Each member of Element will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeFacet(org.w3c.dom.Document doc,
XmlSchemaFacet facetObj,
XmlSchema schema)
********************************************************************* Element serializeFacet(Document
doc, XmlSchemaFacet facetObj, XmlSchema schema) throws XmlSchemaSerializerException{
detect what type of facet and cass appropriatelly, construct the element and pass it.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeField(org.w3c.dom.Document doc,
XmlSchemaXPath fieldObj,
XmlSchema schema)
********************************************************************* Element serializeField(Document
doc, XmlSchemaXPath fieldObj, XmlSchema schema) throws XmlSchemaSerializerException
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeGroup(org.w3c.dom.Document doc,
XmlSchemaGroup groupObj,
XmlSchema schema)
********************************************************************* Element serializeGroup(Document
doc, XmlSchemaGroup groupObj, XmlSchema schema) throws XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeGroupRef(org.w3c.dom.Document doc,
XmlSchemaGroupRef groupRefObj,
XmlSchema schema)
********************************************************************* Element
serializeGroupRef(Document doc, XmlSchemaGroupRef groupRefObj, XmlSchema schema) throws
XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeIdentityConstraint(org.w3c.dom.Document doc,
XmlSchemaIdentityConstraint constraintObj,
XmlSchema schema)
********************************************************************* Element
serializeIdentityConstraint(Document doc, XmlSchemaIdentityConstraint constraintObj, XmlSchema schema)
throws XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeImport(org.w3c.dom.Document doc,
XmlSchemaImport importObj,
XmlSchema schema,
boolean serializeIncluded)
********************************************************************* Element serializeImport(Document
doc, XmlSchemaImport importObj, XmlSchema schema)throws XmlSchemaSerializerException
Add each of the attribute of XmlSchemaImport obj into import Element Then serialize schema that is
included by this import.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeInclude(org.w3c.dom.Document doc,
XmlSchemaInclude includeObj,
XmlSchema schema,
boolean serializeIncluded)
********************************************************************* Element serializeInclude(Document
doc, XmlSchemaInclude includeObj, XmlSchema schema)throws XmlSchemaSerializerException
set appropriate attribute as per this object attribute availability.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeRedefine(org.w3c.dom.Document doc,
XmlSchemaRedefine redefineObj,
XmlSchema schema)
********************************************************************* Element
serializeRedefine(Document doc, XmlSchemaRedefine redefineObj, XmlSchema schema)throws
XmlSchemaSerializerException
Add each of the attribute of XmlSchemaImport obj into import Element Then serialize schema that is
included by this import.
|
org.w3c.dom.Document[] |
XmlSchemaSerializer.serializeSchema(XmlSchema schemaObj,
boolean serializeIncluded)
Serialize an entire schema, returning an array of DOM Documents, one per XSL file.
|
private void |
XmlSchemaSerializer.serializeSchemaChild(java.util.List<XmlSchemaObject> items,
org.w3c.dom.Element serializedSchema,
org.w3c.dom.Document serializedSchemaDocs,
XmlSchema schemaObj,
boolean serializeIncluded) |
(package private) org.w3c.dom.Document[] |
XmlSchemaSerializer.serializeSchemaElement(XmlSchema schemaObj,
boolean serializeIncluded) |
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeSelector(org.w3c.dom.Document doc,
XmlSchemaXPath selectorObj,
XmlSchema schema)
********************************************************************* Element
serializeSelector(Document doc, XmlSchemaXPath selectorObj, XmlSchema schema) throws
XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeSequence(org.w3c.dom.Document doc,
XmlSchemaSequence sequenceObj,
XmlSchema schema)
********************************************************************* Element
serializeSequence(Document doc, XmlSchemaSequence sequenceObj, XmlSchema schema)throws
XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeSimpleContent(org.w3c.dom.Document doc,
XmlSchemaSimpleContent simpleContentObj,
XmlSchema schema)
********************************************************************* Element
serializeSimpleContent(Document doc, XmlSchemaSimpleContent simpleContentObj, XmlSchema schema) throws
XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeSimpleContentExtension(org.w3c.dom.Document doc,
XmlSchemaSimpleContentExtension extensionObj,
XmlSchema schema)
********************************************************************* Element
serializeSimpleContentExtension(Document doc, XmlSchemaSimpleContentExtension extensionObj, XmlSchema
schema) throws XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeSimpleContentRestriction(org.w3c.dom.Document doc,
XmlSchemaSimpleContentRestriction restrictionObj,
XmlSchema schema)
********************************************************************* Element
serializeSimpleContentRestriction(Document doc, XmlSchemaSimpleContentRestriction restrictionObj,
XmlSchema schema) throws XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeSimpleType(org.w3c.dom.Document doc,
XmlSchemaSimpleType simpleTypeObj,
XmlSchema schema)
********************************************************************* Element
serializeSimpleType(Document doc, XmlSchemaSimpleType simpleTypeObj, XmlSchema schema) throws
XmlSchemaSerializerException{
Each member of simple type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeSimpleTypeList(org.w3c.dom.Document doc,
XmlSchemaSimpleTypeList listObj,
XmlSchema schema)
********************************************************************* Element
serializeSimpleTypeList(Document doc, XmlSchemaSimpleTypeList listObj, XmlSchema schema) throws
XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeSimpleTypeRestriction(org.w3c.dom.Document doc,
XmlSchemaSimpleTypeRestriction restrictionObj,
XmlSchema schema)
********************************************************************* Element
serializeSimpleTypeRestriction(Document doc, XmlSchemaSimpleTypeRestriction restrictionObj, XmlSchema
schema) throws XmlSchemaSerializerException{
Each member of simple type will be appended and pass the element created.
|
(package private) org.w3c.dom.Element |
XmlSchemaSerializer.serializeSimpleTypeUnion(org.w3c.dom.Document doc,
XmlSchemaSimpleTypeUnion unionObj,
XmlSchema schema)
********************************************************************* Element
serializeSimpleTypeUnion(Document doc, XmlSchemaSimpleTypeUnion unionObj, XmlSchema schema) throws
XmlSchemaSerializerException{
Each member of complex type will be appended and pass the element created.
|
private void |
XmlSchemaCollection.setDerivationByList(XmlSchema xsd,
javax.xml.namespace.QName child,
javax.xml.namespace.QName parent) |
private void |
XmlSchemaCollection.setDerivationByRestriction(XmlSchema xsd,
javax.xml.namespace.QName child,
javax.xml.namespace.QName parent) |
private void |
XmlSchemaCollection.setDerivationByRestriction(XmlSchema xsd,
javax.xml.namespace.QName child,
javax.xml.namespace.QName parent,
XmlSchemaFacet[] facets) |
(package private) void |
SchemaBuilder.setNamespaceAttributes(XmlSchema schema,
org.w3c.dom.Element schemaEl) |
void |
XmlSchemaExternal.setSchema(XmlSchema sc)
Store a reference to an XmlSchema corresponding to this item.
|
(package private) void |
XmlSchemaSerializer.setupAttr(org.w3c.dom.Document doc,
java.util.List<XmlSchemaAttributeOrGroupRef> attrColl,
XmlSchema schema,
org.w3c.dom.Element container) |
private void |
XmlSchemaCollection.setupBuiltinDatatypeHierarchy(XmlSchema xsd) |
private org.w3c.dom.Element |
XmlSchemaSerializer.setupNamespaces(org.w3c.dom.Document schemaDocs,
XmlSchema schemaObj)
Set up
|
| Modifier and Type | Method and Description |
|---|---|
protected XmlSchemaAttribute |
XmlSchema.getAttributeByName(javax.xml.namespace.QName name,
boolean deep,
java.util.Stack<XmlSchema> schemaStack) |
protected XmlSchemaAttributeGroup |
XmlSchema.getAttributeGroupByName(javax.xml.namespace.QName name,
boolean deep,
java.util.Stack<XmlSchema> schemaStack) |
protected XmlSchemaElement |
XmlSchema.getElementByName(javax.xml.namespace.QName name,
boolean deep,
java.util.Stack<XmlSchema> schemaStack) |
protected XmlSchemaGroup |
XmlSchema.getGroupByName(javax.xml.namespace.QName name,
boolean deep,
java.util.Stack<XmlSchema> schemaStack) |
protected XmlSchemaNotation |
XmlSchema.getNotationByName(javax.xml.namespace.QName name,
boolean deep,
java.util.Stack<XmlSchema> schemaStack) |
protected XmlSchemaType |
XmlSchema.getTypeByName(javax.xml.namespace.QName name,
boolean deep,
java.util.Stack<XmlSchema> schemaStack)
Protected method that allows safe (non-recursive schema loading).
|
void |
XmlSchemaCollection.setKnownNamespaceMap(java.util.Map<java.lang.String,XmlSchema> knownNamespaceMap)
sets the known namespace map
|
| Constructor and Description |
|---|
XmlSchemaAttribute(XmlSchema schema,
boolean topLevel)
Create a new attribute.
|
XmlSchemaAttributeGroup(XmlSchema parent)
Creates new XmlSchemaAttributeGroup
|
XmlSchemaAttributeGroupRef(XmlSchema parent)
Create an attribute group reference.
|
XmlSchemaComplexType(XmlSchema schema,
boolean topLevel)
Creates new XmlSchemaComplexType
|
XmlSchemaElement(XmlSchema parentSchema,
boolean topLevel)
Creates new XmlSchemaElement
|
XmlSchemaExternal(XmlSchema parent)
Creates new XmlSchemaExternal
|
XmlSchemaGroup(XmlSchema parent) |
XmlSchemaImport(XmlSchema parent)
Creates new XmlSchemaImport
|
XmlSchemaInclude(XmlSchema parent)
Creates new XmlSchemaInclude
|
XmlSchemaNotation(XmlSchema parent)
Creates new XmlSchemaNotation
|
XmlSchemaRedefine(XmlSchema parent)
Creates new XmlSchemaRedefine
|
XmlSchemaSimpleType(XmlSchema schema,
boolean topLevel)
Creates new XmlSchemaSimpleType
|
XmlSchemaType(XmlSchema schema,
boolean topLevel)
Creates new XmlSchemaType
|
| Modifier and Type | Field and Description |
|---|---|
protected XmlSchema |
XmlSchemaRefBase.parent |
protected XmlSchema |
XmlSchemaNamedImpl.parentSchema |
| Modifier and Type | Method and Description |
|---|---|
XmlSchema |
XmlSchemaNamedImpl.getParent()
Retrieve the parent schema.
|
XmlSchema |
XmlSchemaNamed.getParent()
Retrieve the parent schema.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TargetNamespaceValidator.validate(XmlSchema pSchema)
Called for validating the given schemas target namespace.
|
| Constructor and Description |
|---|
XmlSchemaNamedImpl(XmlSchema parent,
boolean topLevel)
Create a new named object.
|
XmlSchemaNamedWithFormImpl(XmlSchema parent,
boolean topLevel,
boolean element)
Delegate object for managing names for attributes and elements.
|
XmlSchemaRef(XmlSchema parent,
java.lang.Class<T> targetClass) |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,XmlSchema> |
XmlSchemaScope.schemasByNamespace |
private java.util.Map<java.lang.String,XmlSchema> |
XmlSchemaWalker.schemasByNamespace |
| Constructor and Description |
|---|
XmlSchemaScope(XmlSchemaType type,
java.util.Map<java.lang.String,XmlSchema> xmlSchemasByNamespace,
java.util.Map<javax.xml.namespace.QName,XmlSchemaScope> scopeCache,
java.util.Set<javax.xml.namespace.QName> userRecognizedTypes)
Initializes a new
XmlSchemaScope with a base
XmlSchemaElement. |