org.gxml.xs
Interface SmComponentProvider<A,S>

All Superinterfaces:
SmComponentDetector<S>
All Known Subinterfaces:
SmSchema<A,S>

public interface SmComponentProvider<A,S>
extends SmComponentDetector<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

getAtomicType

SmAtomicType<A,S> getAtomicType(SmName<S> name)
Returns the SmAtomicType if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the Atomic type definition to be retrieved.
Returns:
The SmAtomicType identified by the name, or null if it does not exist.

getAtomicType

SmAtomicType<A,S> getAtomicType(SmNativeType name)

getAttributeDeclaration

SmAttribute<A,S> getAttributeDeclaration(SmName<S> name)
Returns the SmAttribute if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the attribute declaration to be retrieved.
Returns:
The SmAttribute identified by the name, or null if it does not exist.

getAttributeGroup

SmAttributeGroup<A,S> getAttributeGroup(SmName<S> name)
Returns the SmAttributeGroup if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the Attribute Group Definition to be retrieved.
Returns:
The SmAttributeGroup identified by the name, or null if it does not exist.

getComplexType

SmComplexType<A,S> getComplexType(SmName<S> name)
Returns the SmComplexType if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the Complex type definition to be retrieved.
Returns:
The SmComplexType identified by the name, or null if it does not exist.

getElementDeclaration

SmElement<A,S> getElementDeclaration(SmName<S> name)
Returns the SmElement if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the element declaration to be retrieved.
Returns:
The SmElement identified by the name, or null if it does not exist.

getIdentityConstraint

SmIdentityConstraint<A,S> getIdentityConstraint(SmName<S> name)
Returns the SmIdentityConstraint if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the Identity-constraint definition to be retrieved.
Returns:
The SmIdentityConstraint identified by the name, or null if it does not exist.

getModelGroup

SmModelGroup<A,S> getModelGroup(SmName<S> name)
Returns the SmModelGroup if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the Model Group Definition to be retrieved.
Returns:
The SmModelGroup identified by the name, or null if it does not exist.

getNotation

SmNotation<A,S> getNotation(SmName<S> name)
Returns the SmNotation if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the Notation declaration to be retrieved.
Returns:
The SmNotation identified by the name, or null if it does not exist.

getSimpleType

SmSimpleType<A,S> getSimpleType(SmName<S> name)
Returns the SmSimpleType if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the Simple type definition to be retrieved.
Returns:
The SmSimpleType identified by the name, or null if it does not exist.

getSimpleType

SmSimpleType<A,S> getSimpleType(SmNativeType name)

getTypeDefinition

SmType<A,S> getTypeDefinition(SmName<S> name)
Returns the SmType if it exists by the given name, otherwise null. If an error occurs, an implementation-defined unchecked exception will be thrown.

Parameters:
name - The name of the type to be retrieved.
Returns:
The SmType identified by the name, or null if it does not exist.

getTypeDefinition

SmType<A,S> getTypeDefinition(SmNativeType name)


Copyright © 2009 TIBCO Software Inc. All Rights Reserved.