| Package | Description |
|---|---|
| org.apache.ws.commons.schema | |
| org.apache.ws.commons.schema.docpath |
Building an XML Document's Conforming Path
|
| org.apache.ws.commons.schema.walker |
Walking XML Schemas
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<javax.xml.namespace.QName,XmlSchemaElement> |
XmlSchema.elements |
private XmlSchemaRef<XmlSchemaElement> |
XmlSchemaElement.ref |
| Modifier and Type | Method and Description |
|---|---|
XmlSchemaElement |
XmlSchema.getElementByName(javax.xml.namespace.QName name)
Look for a element by its QName.
|
protected XmlSchemaElement |
XmlSchema.getElementByName(javax.xml.namespace.QName name,
boolean deep,
java.util.Stack<XmlSchema> schemaStack) |
XmlSchemaElement |
XmlSchema.getElementByName(java.lang.String name)
get an element by its local name.
|
XmlSchemaElement |
XmlSchemaCollection.getElementByQName(javax.xml.namespace.QName qname)
Retrieve a global element from the schema collection.
|
(package private) XmlSchemaElement |
SchemaBuilder.handleElement(XmlSchema schema,
org.w3c.dom.Element el,
org.w3c.dom.Element schemaEl,
boolean isGlobal)
handle elements
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<javax.xml.namespace.QName,XmlSchemaElement> |
XmlSchema.getElements()
Return a map containing all the defined elements of this schema.
|
XmlSchemaRef<XmlSchemaElement> |
XmlSchemaElement.getRef() |
| Modifier and Type | Method and Description |
|---|---|
private void |
SchemaBuilder.handleElementAnnotation(org.w3c.dom.Element el,
XmlSchemaElement element) |
private boolean |
SchemaBuilder.handleElementForm(org.w3c.dom.Element el,
XmlSchemaElement element,
boolean isQualified) |
private void |
SchemaBuilder.handleElementGlobalType(org.w3c.dom.Element el,
XmlSchemaElement element) |
private void |
SchemaBuilder.handleElementName(boolean isGlobal,
XmlSchemaElement element,
boolean isQualified) |
(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.
|
| Modifier and Type | Field and Description |
|---|---|
private XmlSchemaElement |
XmlSchemaStateMachineNode.element |
(package private) XmlSchemaElement |
XmlSchemaStateMachineGenerator.ElementInfo.element |
| Modifier and Type | Method and Description |
|---|---|
XmlSchemaElement |
XmlSchemaStateMachineNode.getElement()
|
| Modifier and Type | Method and Description |
|---|---|
void |
XmlSchemaStateMachineGenerator.onEndAttributes(XmlSchemaElement element,
XmlSchemaTypeInfo elemTypeInfo) |
void |
XmlSchemaStateMachineGenerator.onEnterElement(XmlSchemaElement element,
XmlSchemaTypeInfo typeInfo,
boolean previouslyVisited) |
void |
XmlSchemaStateMachineGenerator.onEnterSubstitutionGroup(XmlSchemaElement base) |
void |
XmlSchemaStateMachineGenerator.onExitElement(XmlSchemaElement element,
XmlSchemaTypeInfo typeInfo,
boolean previouslyVisited) |
void |
XmlSchemaStateMachineGenerator.onExitSubstitutionGroup(XmlSchemaElement base) |
void |
XmlSchemaStateMachineGenerator.onVisitAnyAttribute(XmlSchemaElement element,
XmlSchemaAnyAttribute anyAttr) |
void |
XmlSchemaStateMachineGenerator.onVisitAttribute(XmlSchemaElement element,
XmlSchemaAttrInfo attrInfo) |
| Constructor and Description |
|---|
ElementInfo(XmlSchemaElement element,
XmlSchemaTypeInfo typeInfo) |
XmlSchemaStateMachineNode(XmlSchemaElement elem,
java.util.List<XmlSchemaAttrInfo> attrs,
XmlSchemaTypeInfo typeInfo)
Constructs a new
SchemaStateMachineNode for an element. |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<javax.xml.namespace.QName,java.util.List<XmlSchemaElement>> |
XmlSchemaWalker.elemsBySubstGroup |
| Modifier and Type | Method and Description |
|---|---|
private XmlSchemaElement |
XmlSchemaWalker.getElement(XmlSchemaElement element,
boolean isSubstitutionGroup)
If the provided
XmlSchemaElement is a reference, track down the
original and add the minimum and maximum occurrence fields. |
| Modifier and Type | Method and Description |
|---|---|
private XmlSchemaElement |
XmlSchemaWalker.getElement(XmlSchemaElement element,
boolean isSubstitutionGroup)
If the provided
XmlSchemaElement is a reference, track down the
original and add the minimum and maximum occurrence fields. |
private static javax.xml.namespace.QName |
XmlSchemaWalker.getElementQName(XmlSchemaElement element) |
void |
XmlSchemaVisitor.onEndAttributes(XmlSchemaElement element,
XmlSchemaTypeInfo typeInfo)
This method is called when all of the attributes have been processed
(provided the element has a type defined).
|
void |
XmlSchemaVisitor.onEnterElement(XmlSchemaElement element,
XmlSchemaTypeInfo typeInfo,
boolean previouslyVisited)
A notification that an
XmlSchemaElement has been entered. |
void |
XmlSchemaVisitor.onEnterSubstitutionGroup(XmlSchemaElement base)
This method is called when the walker enters a substitution group.
|
void |
XmlSchemaVisitor.onExitElement(XmlSchemaElement element,
XmlSchemaTypeInfo typeInfo,
boolean previouslyVisited)
Signifies the end of the element that was previously entered.
|
void |
XmlSchemaVisitor.onExitSubstitutionGroup(XmlSchemaElement base)
Called when the end of the substitution group is reached.
|
void |
XmlSchemaVisitor.onVisitAnyAttribute(XmlSchemaElement element,
XmlSchemaAnyAttribute anyAttr)
Called when a wildcard attribute is visited.
|
void |
XmlSchemaVisitor.onVisitAttribute(XmlSchemaElement element,
XmlSchemaAttrInfo attrInfo)
This method is called for each attribute associated with the element,
providing the
XmlSchemaAttrInfo representing that attribute. |
void |
XmlSchemaWalker.walk(XmlSchemaElement element)
Initiates a walk through the
XmlSchemaCollection starting with
the provided root XmlSchemaElement. |