public interface XSDComponentBuilder
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
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.
|
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
java.lang.String getTargetNamespaceValue() throws PRException
PRException
- when a fatal parse error occursvoid loadAllReferencedDocuments() throws PRException
PRException
- when a fatal parse error occursjava.lang.String getDocumentSummary() throws PRException
PRException
- when a fatal parse error occursjava.util.List getReferencedDocumentLocations() throws PRException
PRException
- when a fatal parse error occursjava.util.List getDefinedNamespaceURIs() throws PRException
PRException
- when a fatal parse error occursboolean isNamespaceDefined(java.lang.String aNamespaceURI) throws PRException
aNamespaceURI
- the namespace URI value to look upPRException
- when a fatal parse error occursjava.util.List getGlobalElementQNames() throws PRException
PRException
- when a fatal parse error occursjava.util.List getGlobalAttributeQNames() throws PRException
PRException
- when a fatal parse error occursjava.util.List getComplexTypeQNames() throws PRException
PRException
- when a fatal parse error occursjava.util.List getSimpleTypeQNames() throws PRException
PRException
- when a fatal parse error occursjava.util.List getModelGroupQNames() throws PRException
PRException
- when a fatal parse error occursjava.util.List getAttributeGroupQNames() throws PRException
PRException
- when a fatal parse error occursjava.util.List getGlobalElementNames(java.lang.String aNamespaceURI) throws PRException
aNamespaceURI
- the namespace URI value to look upPRException
- when a fatal parse error occursjava.util.List getGlobalAttributeNames(java.lang.String aNamespaceURI) throws PRException
aNamespaceURI
- the namespace URI value to look upPRException
- when a fatal parse error occursjava.util.List getComplexTypeNames(java.lang.String aNamespaceURI) throws PRException
aNamespaceURI
- the namespace URI value to look upPRException
- when a fatal parse error occursjava.util.List getSimpleTypeNames(java.lang.String aNamespaceURI) throws PRException
aNamespaceURI
- the namespace URI value to look upPRException
- when a fatal parse error occursjava.util.List getModelGroupNames(java.lang.String aNamespaceURI) throws PRException
aNamespaceURI
- the namespace URI value to look upPRException
- when a fatal parse error occursjava.util.List getAttributeGroupNames(java.lang.String aNamespaceURI) throws PRException
aNamespaceURI
- the namespace URI value to look upPRException
- when a fatal parse error occursboolean isElementDeclared(javax.xml.namespace.QName aElemRef) throws PRException
aElemRef
- the qualified name of the global element declarationPRException
- when a fatal parse error occursboolean isAttributeDeclared(javax.xml.namespace.QName aAttrRef) throws PRException
aAttrRef
- the qualified name of the global attribute declarationPRException
- when a fatal parse error occursboolean isComplexTypeDefined(javax.xml.namespace.QName aTypeRef) throws PRException
aTypeRef
- the qualified name of the complex type definitionPRException
- when a fatal parse error occursboolean isSimpleTypeDefined(javax.xml.namespace.QName aTypeRef) throws PRException
aTypeRef
- the qualified name of the simple type definitionPRException
- when a fatal parse error occursboolean isModelGroupDefined(javax.xml.namespace.QName aGroupRef) throws PRException
aGroupRef
- the qualified name of the model group definitionPRException
- when a fatal parse error occursboolean isAttributeGroupDefined(javax.xml.namespace.QName aGroupRef) throws PRException
aGroupRef
- the qualified name of the attribute group definitionPRException
- when a fatal parse error occursboolean elementHasComplexType(javax.xml.namespace.QName aElemRef) throws PRException
aElemRef
- the qualified name of the global element declarationPRException
- when a fatal parse error occursjava.util.List getAbstractElementQNames() throws PRException
PRException
- when a fatal parse error occursjava.util.List getAbstractTypeQNames() throws PRException
PRException
- when a fatal parse error occursjava.util.List getSubstituteElementQNames(javax.xml.namespace.QName aElemRef) throws PRException
aElemRef
- the qualified name of the substitutable elementPRException
- when a fatal parse error occursjava.util.List getSubstituteTypeQNames(javax.xml.namespace.QName aTypeRef) throws PRException
aTypeRef
- the qualified name of the substitutable complex typePRException
- when a fatal parse error occursboolean hasSubstituteTypes() throws PRException
PRException
- when a fatal parse error occursXSDComponentList getSchemaDocuments(java.lang.String aNamespaceURI) throws PRException
aNamespaceURI
- the namespace URI value to look upPRException
- when a fatal parse error occursXSDElementDeclaration getGlobalElementDeclaration(javax.xml.namespace.QName aElemRef) throws PRException
aElemRef
- the qualified name of the global element declarationPRException
- for an invalid QName or when a fatal parse error occursXSDAttributeDeclaration getGlobalAttributeDeclaration(javax.xml.namespace.QName aAttrRef) throws PRException
aAttrRef
- the qualified name of the global attribute declarationPRException
- for an invalid QName or when a fatal parse error occursXSDComplexTypeDefinition getNamedComplexTypeDefinition(javax.xml.namespace.QName aTypeRef) throws PRException
aTypeRef
- the qualified name of the complex type definitionPRException
- for an invalid QName or when a fatal parse error occursXSDSimpleTypeDefinition getNamedSimpleTypeDefinition(javax.xml.namespace.QName aTypeRef) throws PRException
aTypeRef
- the qualified name of the simple type definitionPRException
- for an invalid QName or when a fatal parse error occursXSDModelGroupDefinition getNamedModelGroupDefinition(javax.xml.namespace.QName aGroupRef) throws PRException
aGroupRef
- the qualified name of the model group definitionPRException
- for an invalid QName or when a fatal parse error occursXSDAttributeGroupDefinition getAttributeGroupDefinition(javax.xml.namespace.QName aGroupRef) throws PRException
aGroupRef
- the qualified name of the attribute group definitionPRException
- for an invalid QName or when a fatal parse error occursjava.util.List getParseWarnings()
Copyright © 2018 Pegasystems Inc. All Rights Reserved.