|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SmComponentProvider<A,S>
A collection of schema components accessible through their expanded-QName.
Method Summary | |
---|---|
SmAtomicType<A,S> |
getAtomicType(SmName<S> name)
Returns the SmAtomicType if it exists by the given name, otherwise null . |
SmAtomicType<A,S> |
getAtomicType(SmNativeType name)
|
SmAttribute<A,S> |
getAttributeDeclaration(SmName<S> name)
Returns the SmAttribute if it exists by the given name, otherwise
null . |
SmAttributeGroup<A,S> |
getAttributeGroup(SmName<S> name)
Returns the SmAttributeGroup if it exists by the given name, otherwise null . |
SmComplexType<A,S> |
getComplexType(SmName<S> name)
Returns the SmComplexType if it exists by the given name, otherwise null . |
SmElement<A,S> |
getElementDeclaration(SmName<S> name)
Returns the SmElement if it exists by the given name, otherwise null . |
SmIdentityConstraint<A,S> |
getIdentityConstraint(SmName<S> name)
Returns the SmIdentityConstraint if it exists by the given name, otherwise
null . |
SmModelGroup<A,S> |
getModelGroup(SmName<S> name)
Returns the SmModelGroup if it exists by the given name, otherwise null . |
SmNotation<A,S> |
getNotation(SmName<S> name)
Returns the SmNotation if it exists by the given name, otherwise null . |
SmSimpleType<A,S> |
getSimpleType(SmName<S> name)
Returns the SmSimpleType if it exists by the given name, otherwise null . |
SmSimpleType<A,S> |
getSimpleType(SmNativeType name)
|
SmType<A,S> |
getTypeDefinition(SmName<S> name)
Returns the SmType if it exists by the given name, otherwise null . |
SmType<A,S> |
getTypeDefinition(SmNativeType name)
|
Methods inherited from interface org.gxml.xs.SmComponentDetector |
---|
hasAttributeDeclaration, hasAttributeGroup, hasComplexType, hasElementDeclaration, hasIdentityConstraint, hasModelGroup, hasNotation, hasSimpleType, hasTypeDefinition |
Method Detail |
---|
SmAtomicType<A,S> getAtomicType(SmName<S> name)
SmAtomicType
if it exists by the given name, otherwise null
. If an error occurs,
an implementation-defined unchecked exception will be thrown.
name
- The name of the Atomic type definition to be retrieved.
SmAtomicType
identified by the name, or null
if it does not exist.SmAtomicType<A,S> getAtomicType(SmNativeType name)
SmAttribute<A,S> getAttributeDeclaration(SmName<S> name)
SmAttribute
if it exists by the given name, otherwise
null
. If an error occurs, an implementation-defined unchecked exception will be thrown.
name
- The name of the attribute declaration to be retrieved.
SmAttribute
identified by the name, or null
if it does
not exist.SmAttributeGroup<A,S> getAttributeGroup(SmName<S> name)
SmAttributeGroup
if it exists by the given name, otherwise null
. If an error
occurs, an implementation-defined unchecked exception will be thrown.
name
- The name of the Attribute Group Definition to be retrieved.
SmAttributeGroup
identified by the name, or null
if it does not
exist.SmComplexType<A,S> getComplexType(SmName<S> name)
SmComplexType
if it exists by the given name, otherwise null
. If an error
occurs, an implementation-defined unchecked exception will be thrown.
name
- The name of the Complex type definition to be retrieved.
SmComplexType
identified by the name, or null
if it does not exist.SmElement<A,S> getElementDeclaration(SmName<S> name)
SmElement
if it exists by the given name, otherwise null
.
If an error occurs, an implementation-defined unchecked exception will be thrown.
name
- The name of the element declaration to be retrieved.
SmElement
identified by the name, or null
if it does not
exist.SmIdentityConstraint<A,S> getIdentityConstraint(SmName<S> name)
SmIdentityConstraint
if it exists by the given name, otherwise
null
. If an error occurs, an implementation-defined unchecked exception will be thrown.
name
- The name of the Identity-constraint definition to be retrieved.
SmIdentityConstraint
identified by the name, or null
if it does
not exist.SmModelGroup<A,S> getModelGroup(SmName<S> name)
SmModelGroup
if it exists by the given name, otherwise null
. If an
error occurs, an implementation-defined unchecked exception will be thrown.
name
- The name of the Model Group Definition to be retrieved.
SmModelGroup
identified by the name, or null
if it does not exist.SmNotation<A,S> getNotation(SmName<S> name)
SmNotation
if it exists by the given name, otherwise null
. If an
error occurs, an implementation-defined unchecked exception will be thrown.
name
- The name of the Notation declaration to be retrieved.
SmNotation
identified by the name, or null
if it does not exist.SmSimpleType<A,S> getSimpleType(SmName<S> name)
SmSimpleType
if it exists by the given name, otherwise null
. If an
error occurs, an implementation-defined unchecked exception will be thrown.
name
- The name of the Simple type definition to be retrieved.
SmSimpleType
identified by the name, or null
if it does not exist.SmSimpleType<A,S> getSimpleType(SmNativeType name)
SmType<A,S> getTypeDefinition(SmName<S> name)
SmType
if it exists by the given name, otherwise null
. If
an error occurs, an implementation-defined unchecked exception will be thrown.
name
- The name of the type to be retrieved.
SmType
identified by the name, or null
if it does not
exist.SmType<A,S> getTypeDefinition(SmNativeType name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |