Uses of Class
org.apache.ws.commons.schema.XmlSchemaElement
Packages that use XmlSchemaElement
Package
Description
This package is dedicated to walking an XML Document using the SAX API,
and building a path through its
XmlSchemaCollection to determine
how the document conforms to its schema.This package simplifies walking over an
XmlSchemaCollection.-
Uses of XmlSchemaElement in org.apache.ws.commons.schema
Fields in org.apache.ws.commons.schema with type parameters of type XmlSchemaElementModifier and TypeFieldDescriptionprivate Map<QName, XmlSchemaElement> XmlSchema.elementsprivate XmlSchemaRef<XmlSchemaElement> XmlSchemaElement.refMethods in org.apache.ws.commons.schema that return XmlSchemaElementModifier and TypeMethodDescriptionXmlSchema.getElementByName(String name) get an element by its local name.XmlSchema.getElementByName(QName name) Look for a element by its QName.protected XmlSchemaElementXmlSchema.getElementByName(QName name, boolean deep, Stack<XmlSchema> schemaStack) XmlSchemaCollection.getElementByQName(QName qname) Retrieve a global element from the schema collection.(package private) XmlSchemaElementSchemaBuilder.handleElement(XmlSchema schema, Element el, Element schemaEl, boolean isGlobal) handle elementsMethods in org.apache.ws.commons.schema that return types with arguments of type XmlSchemaElementModifier and TypeMethodDescriptionXmlSchema.getElements()Return a map containing all the defined elements of this schema.XmlSchemaElement.getRef()Methods in org.apache.ws.commons.schema with parameters of type XmlSchemaElementModifier and TypeMethodDescriptionprivate voidSchemaBuilder.handleElementAnnotation(Element el, XmlSchemaElement element) private booleanSchemaBuilder.handleElementForm(Element el, XmlSchemaElement element, boolean isQualified) private voidSchemaBuilder.handleElementGlobalType(Element el, XmlSchemaElement element) private voidSchemaBuilder.handleElementName(boolean isGlobal, XmlSchemaElement element, boolean isQualified) (package private) ElementXmlSchemaSerializer.serializeElement(Document doc, XmlSchemaElement elementObj, XmlSchema schema) ********************************************************************* Element serializeElement(Document doc, XmlSchemaElement elementObj, XmlSchema schema) throws XmlSchemaSerializerException -
Uses of XmlSchemaElement in org.apache.ws.commons.schema.docpath
Fields in org.apache.ws.commons.schema.docpath declared as XmlSchemaElementModifier and TypeFieldDescription(package private) final XmlSchemaElementXmlSchemaStateMachineGenerator.ElementInfo.elementprivate final XmlSchemaElementXmlSchemaStateMachineNode.elementMethods in org.apache.ws.commons.schema.docpath that return XmlSchemaElementMethods in org.apache.ws.commons.schema.docpath with parameters of type XmlSchemaElementModifier and TypeMethodDescriptionvoidXmlSchemaStateMachineGenerator.onEndAttributes(XmlSchemaElement element, XmlSchemaTypeInfo elemTypeInfo) voidXmlSchemaStateMachineGenerator.onEnterElement(XmlSchemaElement element, XmlSchemaTypeInfo typeInfo, boolean previouslyVisited) voidXmlSchemaStateMachineGenerator.onEnterSubstitutionGroup(XmlSchemaElement base) voidXmlSchemaStateMachineGenerator.onExitElement(XmlSchemaElement element, XmlSchemaTypeInfo typeInfo, boolean previouslyVisited) voidXmlSchemaStateMachineGenerator.onExitSubstitutionGroup(XmlSchemaElement base) voidXmlSchemaStateMachineGenerator.onVisitAnyAttribute(XmlSchemaElement element, XmlSchemaAnyAttribute anyAttr) voidXmlSchemaStateMachineGenerator.onVisitAttribute(XmlSchemaElement element, XmlSchemaAttrInfo attrInfo) Constructors in org.apache.ws.commons.schema.docpath with parameters of type XmlSchemaElementModifierConstructorDescription(package private)ElementInfo(XmlSchemaElement element, XmlSchemaTypeInfo typeInfo) (package private)XmlSchemaStateMachineNode(XmlSchemaElement elem, List<XmlSchemaAttrInfo> attrs, XmlSchemaTypeInfo typeInfo) Constructs a newSchemaStateMachineNodefor an element. -
Uses of XmlSchemaElement in org.apache.ws.commons.schema.walker
Fields in org.apache.ws.commons.schema.walker with type parameters of type XmlSchemaElementModifier and TypeFieldDescriptionprivate final Map<QName, List<XmlSchemaElement>> XmlSchemaWalker.elemsBySubstGroupMethods in org.apache.ws.commons.schema.walker that return XmlSchemaElementModifier and TypeMethodDescriptionprivate XmlSchemaElementXmlSchemaWalker.getElement(XmlSchemaElement element, boolean isSubstitutionGroup) If the providedXmlSchemaElementis a reference, track down the original and add the minimum and maximum occurrence fields.SchemasByNamespace.getElementByName(QName aElementName) Returns an XmlSchemaElement with the given QName.Methods in org.apache.ws.commons.schema.walker with parameters of type XmlSchemaElementModifier and TypeMethodDescriptionprivate XmlSchemaElementXmlSchemaWalker.getElement(XmlSchemaElement element, boolean isSubstitutionGroup) If the providedXmlSchemaElementis a reference, track down the original and add the minimum and maximum occurrence fields.private static QNameXmlSchemaWalker.getElementQName(XmlSchemaElement element) voidXmlSchemaVisitor.onEndAttributes(XmlSchemaElement element, XmlSchemaTypeInfo typeInfo) This method is called when all of the attributes have been processed (provided the element has a type defined).voidXmlSchemaVisitor.onEnterElement(XmlSchemaElement element, XmlSchemaTypeInfo typeInfo, boolean previouslyVisited) A notification that anXmlSchemaElementhas been entered.voidXmlSchemaVisitor.onEnterSubstitutionGroup(XmlSchemaElement base) This method is called when the walker enters a substitution group.voidXmlSchemaVisitor.onExitElement(XmlSchemaElement element, XmlSchemaTypeInfo typeInfo, boolean previouslyVisited) Signifies the end of the element that was previously entered.voidXmlSchemaVisitor.onExitSubstitutionGroup(XmlSchemaElement base) Called when the end of the substitution group is reached.voidXmlSchemaVisitor.onVisitAnyAttribute(XmlSchemaElement element, XmlSchemaAnyAttribute anyAttr) Called when a wildcard attribute is visited.voidXmlSchemaVisitor.onVisitAttribute(XmlSchemaElement element, XmlSchemaAttrInfo attrInfo) This method is called for each attribute associated with the element, providing theXmlSchemaAttrInforepresenting that attribute.voidXmlSchemaWalker.walk(XmlSchemaElement element) Initiates a walk through theXmlSchemaCollectionstarting with the provided rootXmlSchemaElement.