|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XSDComponentBuilder
Utility methods for constructing XML Schema component objects from a given WSDL or XML Schema input document
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
VERSION
|
| Method Summary | |
|---|---|
boolean |
elementHasComplexType(javax.xml.namespace.QName aElemRef)
Check if a particular element has a reference to a named complex type definition, or a local in-line complex type definition. |
java.util.List |
getAbstractElementQNames()
Get a list of qualified names for all global element declarations that have the 'abstract' attribute set with a value of "true". |
java.util.List |
getAbstractTypeQNames()
Get a list of qualified names for all global attribute declarations that have the 'abstract' attribute set with a value of "true". |
XSDAttributeGroupDefinition |
getAttributeGroupDefinition(javax.xml.namespace.QName aGroupRef)
Get the attribute group definition component object associated with the given qualified name. |
java.util.List |
getAttributeGroupNames(java.lang.String aNamespaceURI)
Get a list of names for all global attribute group definitions that belong to the given namespace URI. |
java.util.List |
getAttributeGroupQNames()
Get a list of qualified names for all global attribute group definitions in all referenced schema documents. |
java.util.List |
getComplexTypeNames(java.lang.String aNamespaceURI)
Get a list of names for all global complex type definitions that belong to the given namespace URI. |
java.util.List |
getComplexTypeQNames()
Get a list of qualified names for all global complex type definitions in all referenced schema documents. |
java.util.List |
getDefinedNamespaceURIs()
Get a list of namespace URI's that the referenced WSDL or XML Schema documents define. |
java.lang.String |
getDocumentSummary()
Get a summary of all documents that were loaded as a result of document 'import' or 'include' references in the root document or any of the other referenced documents. |
XSDAttributeDeclaration |
getGlobalAttributeDeclaration(javax.xml.namespace.QName aAttrRef)
Get the attribute declaration component object associated with the given qualified name. |
java.util.List |
getGlobalAttributeNames(java.lang.String aNamespaceURI)
Get a list of names for all global attribute declarations that belong to the given namespace URI. |
java.util.List |
getGlobalAttributeQNames()
Get a list of qualified names for all global attribute declarations in all referenced schema documents. |
XSDElementDeclaration |
getGlobalElementDeclaration(javax.xml.namespace.QName aElemRef)
Get the element declaration component object associated with the given qualified name. |
java.util.List |
getGlobalElementNames(java.lang.String aNamespaceURI)
Get a list of names for all global element declarations that belong to the given namespace URI. |
java.util.List |
getGlobalElementQNames()
Get a list of qualified names for all global element declarations in all referenced schema documents. |
java.util.List |
getModelGroupNames(java.lang.String aNamespaceURI)
Get a list of names for all global model group definitions that belong to the given namespace URI. |
java.util.List |
getModelGroupQNames()
Get a list of qualified names for all global model group definitions in all referenced schema documents. |
XSDComplexTypeDefinition |
getNamedComplexTypeDefinition(javax.xml.namespace.QName aTypeRef)
Get the complex type definition component object associated with the given qualified name. |
XSDModelGroupDefinition |
getNamedModelGroupDefinition(javax.xml.namespace.QName aGroupRef)
Get the model group definition component object associated with the given qualified name. |
XSDSimpleTypeDefinition |
getNamedSimpleTypeDefinition(javax.xml.namespace.QName aTypeRef)
Get the simple type definition component object associated with the given qualified name. |
java.util.List |
getParseWarnings()
Get a list of all non-fatal warning messages that occurred while parsing any of the referenced documents or traversing their content. |
java.util.List |
getReferencedDocumentLocations()
Get a list of absolute URL or PRFile paths for all documents that were loaded as a result of document 'import' or 'include' references in the root document or any of the other referenced documents. |
XSDComponentList |
getSchemaDocuments(java.lang.String aNamespaceURI)
Get the list of schema document component objects associated with the given namespace URI. |
java.util.List |
getSimpleTypeNames(java.lang.String aNamespaceURI)
Get a list of names for all global simple type definitions that belong to the given namespace URI. |
java.util.List |
getSimpleTypeQNames()
Get a list of qualified names for all global simple type definitions in all referenced schema documents. |
java.util.List |
getSubstituteElementQNames(javax.xml.namespace.QName aElemRef)
Get a list of qualified names for all named complex type definitions that use the 'substitutionGroup' attribute to declare membership in a substitution group hierarchy. |
java.util.List |
getSubstituteTypeQNames(javax.xml.namespace.QName aTypeRef)
Get a list of qualified names for all named complex type definitions that use type extension or restriction to create a type hierarchy. |
java.lang.String |
getTargetNamespaceValue()
Return the value of the 'targetNamespace' attribute of the root document element. |
boolean |
hasSubstituteTypes()
Check if there are any substitution types defined on any type name. |
boolean |
isAttributeDeclared(javax.xml.namespace.QName aAttrRef)
Check if a particular attribute has been declared in any of the referenced schema documents. |
boolean |
isAttributeGroupDefined(javax.xml.namespace.QName aGroupRef)
Check if a particular attribute group has been defined in any of the referenced schema documents. |
boolean |
isComplexTypeDefined(javax.xml.namespace.QName aTypeRef)
Check if a particular complex type has been defined in any of the referenced schema documents. |
boolean |
isElementDeclared(javax.xml.namespace.QName aElemRef)
Check if a particular element has been declared in any of the referenced schema documents. |
boolean |
isModelGroupDefined(javax.xml.namespace.QName aGroupRef)
Check if a particular model group has been defined in any of the referenced schema documents. |
boolean |
isNamespaceDefined(java.lang.String aNamespaceURI)
Check if a given namespace URI is defined by one or more of the referenced WSDL or XML Schema documents. |
boolean |
isSimpleTypeDefined(javax.xml.namespace.QName aTypeRef)
Check if a particular simple type has been defined in any of the referenced schema documents. |
void |
loadAllReferencedDocuments()
Load all documents associated with the URL or PRFile that was used to initialize the component builder. |
| Field Detail |
|---|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
| Method Detail |
|---|
java.lang.String getTargetNamespaceValue()
throws PRException
PRException - when a fatal parse error occurs
void loadAllReferencedDocuments()
throws PRException
PRException - when a fatal parse error occurs
java.lang.String getDocumentSummary()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getReferencedDocumentLocations()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getDefinedNamespaceURIs()
throws PRException
PRException - when a fatal parse error occurs
boolean isNamespaceDefined(java.lang.String aNamespaceURI)
throws PRException
aNamespaceURI - the namespace URI value to look up
PRException - when a fatal parse error occurs
java.util.List getGlobalElementQNames()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getGlobalAttributeQNames()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getComplexTypeQNames()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getSimpleTypeQNames()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getModelGroupQNames()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getAttributeGroupQNames()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getGlobalElementNames(java.lang.String aNamespaceURI)
throws PRException
aNamespaceURI - the namespace URI value to look up
PRException - when a fatal parse error occurs
java.util.List getGlobalAttributeNames(java.lang.String aNamespaceURI)
throws PRException
aNamespaceURI - the namespace URI value to look up
PRException - when a fatal parse error occurs
java.util.List getComplexTypeNames(java.lang.String aNamespaceURI)
throws PRException
aNamespaceURI - the namespace URI value to look up
PRException - when a fatal parse error occurs
java.util.List getSimpleTypeNames(java.lang.String aNamespaceURI)
throws PRException
aNamespaceURI - the namespace URI value to look up
PRException - when a fatal parse error occurs
java.util.List getModelGroupNames(java.lang.String aNamespaceURI)
throws PRException
aNamespaceURI - the namespace URI value to look up
PRException - when a fatal parse error occurs
java.util.List getAttributeGroupNames(java.lang.String aNamespaceURI)
throws PRException
aNamespaceURI - the namespace URI value to look up
PRException - when a fatal parse error occurs
boolean isElementDeclared(javax.xml.namespace.QName aElemRef)
throws PRException
aElemRef - the qualified name of the global element declaration
PRException - when a fatal parse error occurs
boolean isAttributeDeclared(javax.xml.namespace.QName aAttrRef)
throws PRException
aAttrRef - the qualified name of the global attribute declaration
PRException - when a fatal parse error occurs
boolean isComplexTypeDefined(javax.xml.namespace.QName aTypeRef)
throws PRException
aTypeRef - the qualified name of the complex type definition
PRException - when a fatal parse error occurs
boolean isSimpleTypeDefined(javax.xml.namespace.QName aTypeRef)
throws PRException
aTypeRef - the qualified name of the simple type definition
PRException - when a fatal parse error occurs
boolean isModelGroupDefined(javax.xml.namespace.QName aGroupRef)
throws PRException
aGroupRef - the qualified name of the model group definition
PRException - when a fatal parse error occurs
boolean isAttributeGroupDefined(javax.xml.namespace.QName aGroupRef)
throws PRException
aGroupRef - the qualified name of the attribute group definition
PRException - when a fatal parse error occurs
boolean elementHasComplexType(javax.xml.namespace.QName aElemRef)
throws PRException
aElemRef - the qualified name of the global element declaration
PRException - when a fatal parse error occurs
java.util.List getAbstractElementQNames()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getAbstractTypeQNames()
throws PRException
PRException - when a fatal parse error occurs
java.util.List getSubstituteElementQNames(javax.xml.namespace.QName aElemRef)
throws PRException
aElemRef - the qualified name of the substitutable element
PRException - when a fatal parse error occurs
java.util.List getSubstituteTypeQNames(javax.xml.namespace.QName aTypeRef)
throws PRException
aTypeRef - the qualified name of the substitutable complex type
PRException - when a fatal parse error occurs
boolean hasSubstituteTypes()
throws PRException
PRException - when a fatal parse error occurs
XSDComponentList getSchemaDocuments(java.lang.String aNamespaceURI)
throws PRException
aNamespaceURI - the namespace URI value to look up
PRException - when a fatal parse error occurs
XSDElementDeclaration getGlobalElementDeclaration(javax.xml.namespace.QName aElemRef)
throws PRException
aElemRef - the qualified name of the global element declaration
PRException - for an invalid QName or when a fatal parse error occurs
XSDAttributeDeclaration getGlobalAttributeDeclaration(javax.xml.namespace.QName aAttrRef)
throws PRException
aAttrRef - the qualified name of the global attribute declaration
PRException - for an invalid QName or when a fatal parse error occurs
XSDComplexTypeDefinition getNamedComplexTypeDefinition(javax.xml.namespace.QName aTypeRef)
throws PRException
aTypeRef - the qualified name of the complex type definition
PRException - for an invalid QName or when a fatal parse error occurs
XSDSimpleTypeDefinition getNamedSimpleTypeDefinition(javax.xml.namespace.QName aTypeRef)
throws PRException
aTypeRef - the qualified name of the simple type definition
PRException - for an invalid QName or when a fatal parse error occurs
XSDModelGroupDefinition getNamedModelGroupDefinition(javax.xml.namespace.QName aGroupRef)
throws PRException
aGroupRef - the qualified name of the model group definition
PRException - for an invalid QName or when a fatal parse error occurs
XSDAttributeGroupDefinition getAttributeGroupDefinition(javax.xml.namespace.QName aGroupRef)
throws PRException
aGroupRef - the qualified name of the attribute group definition
PRException - for an invalid QName or when a fatal parse error occursjava.util.List getParseWarnings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||