|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.impl.xs.XSModelImpl
Implements XSModel: a read-only interface that represents an XML Schema, which could be components from different namespaces.
Constructor Summary | |
XSModelImpl(SchemaGrammar[] grammars)
Construct an XSModelImpl, by storing some grammars and grammars imported by them to this object. |
Method Summary | |
weblogic.apache.xerces.impl.xs.psvi.XSObjectList |
getAnnotations()
{annotations} A set of annotations. |
weblogic.apache.xerces.impl.xs.psvi.XSAttributeDeclaration |
getAttributeDecl(java.lang.String name,
java.lang.String namespace)
Convenience method. |
weblogic.apache.xerces.impl.xs.psvi.XSAttributeGroupDefinition |
getAttributeGroup(java.lang.String name,
java.lang.String namespace)
Convenience method. |
weblogic.apache.xerces.impl.xs.psvi.XSNamedMap |
getComponents(short objectType)
Returns a list of top-level components, i.e. |
weblogic.apache.xerces.impl.xs.psvi.XSNamedMap |
getComponentsByNamespace(short objectType,
java.lang.String namespace)
Convenience method. |
weblogic.apache.xerces.impl.xs.psvi.XSElementDeclaration |
getElementDecl(java.lang.String name,
java.lang.String namespace)
Convenience method. |
weblogic.apache.xerces.impl.xs.psvi.XSModelGroupDefinition |
getModelGroupDefinition(java.lang.String name,
java.lang.String namespace)
Convenience method. |
weblogic.apache.xerces.impl.xs.psvi.ObjectList |
getNamespaceItems()
Convenience method. |
weblogic.apache.xerces.impl.xs.psvi.StringList |
getNamespaces()
Convenience method. |
weblogic.apache.xerces.impl.xs.psvi.XSNotationDeclaration |
getNotationDecl(java.lang.String name,
java.lang.String namespace)
Convenience method. |
weblogic.apache.xerces.impl.xs.psvi.XSTypeDefinition |
getTypeDefinition(java.lang.String name,
java.lang.String namespace)
Convenience method. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public XSModelImpl(SchemaGrammar[] grammars)
grammars
- the array of schema grammarsMethod Detail |
public weblogic.apache.xerces.impl.xs.psvi.StringList getNamespaces()
null
if all components don't have a targetNamespace.public weblogic.apache.xerces.impl.xs.psvi.ObjectList getNamespaceItems()
public weblogic.apache.xerces.impl.xs.psvi.XSNamedMap getComponents(short objectType)
objectType
- The type of the declaration, i.e.
ELEMENT_DECLARATION, ATTRIBUTE_DECLARATION, etc.objectType
or null
.public weblogic.apache.xerces.impl.xs.psvi.XSNamedMap getComponentsByNamespace(short objectType, java.lang.String namespace)
objectType
- The type of the declaration, i.e.
ELEMENT_DECLARATION, ATTRIBUTE_DECLARATION, etc.namespace
- The namespace to which declaration belong or
null
(for components with no targetNamespace).objectType
and defined in the specified
namespace
or null
.public weblogic.apache.xerces.impl.xs.psvi.XSTypeDefinition getTypeDefinition(java.lang.String name, java.lang.String namespace)
name
- The name of the definition.namespace
- The namespace of the definition, otherwise null.XSTypeDefinition
or null if such definition
does not exist.public weblogic.apache.xerces.impl.xs.psvi.XSAttributeDeclaration getAttributeDecl(java.lang.String name, java.lang.String namespace)
name
- The name of the declaration.namespace
- The namespace of the definition, otherwise null.public weblogic.apache.xerces.impl.xs.psvi.XSElementDeclaration getElementDecl(java.lang.String name, java.lang.String namespace)
name
- The name of the declaration.namespace
- The namespace of the definition, otherwise null.public weblogic.apache.xerces.impl.xs.psvi.XSAttributeGroupDefinition getAttributeGroup(java.lang.String name, java.lang.String namespace)
name
- The name of the definition.namespace
- The namespace of the definition, otherwise null.public weblogic.apache.xerces.impl.xs.psvi.XSModelGroupDefinition getModelGroupDefinition(java.lang.String name, java.lang.String namespace)
name
- The name of the definition.namespace
- The namespace of the definition, otherwise null.public weblogic.apache.xerces.impl.xs.psvi.XSNotationDeclaration getNotationDecl(java.lang.String name, java.lang.String namespace)
name
- The name of the declaration.namespace
- The namespace of the definition, otherwise null.public weblogic.apache.xerces.impl.xs.psvi.XSObjectList getAnnotations()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |