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

All Known Subinterfaces:
SmAtomicType<A,S>, SmAtomicUrType<A,S>, SmAttribute<A,S>, SmAttributeGroup<A,S>, SmAttributeNodeType<A,S>, SmComplexType<A,S>, SmComplexUrType<A,S>, SmDataComponent<A,S>, SmElement<A,S>, SmElementNodeType<A,S>, SmIdentityConstraint<A,S>, SmListType<A,S>, SmModelGroup<A,S>, SmNotation<A,S>, SmSimpleType<A,S>, SmSimpleUrType<A,S>, SmType<A,S>, SmUnionType<A,S>

public interface SmComponent<A,S>

The common interface for all schema components (things that are named).


Method Summary
 S getLocalName()
          The {name} property.
 SmName<S> getName()
          The {name} and {target namespace} properties.
 SmScope getScope()
          The {scope} property of this component.
 S getTargetNamespace()
          The {target namespace} property.
 boolean isAnonymous()
          A component is anonymous if it does not explicity have a name in a schema document.
 

Method Detail

getName

SmName<S> getName()
The {name} and {target namespace} properties.


getLocalName

S getLocalName()
The {name} property.


getTargetNamespace

S getTargetNamespace()
The {target namespace} property.


getScope

SmScope getScope()
The {scope} property of this component.


isAnonymous

boolean isAnonymous()
A component is anonymous if it does not explicity have a name in a schema document. A component may be assigned a processing-context unique name if it is anonymous.



Copyright © 2009 Cloud Software Group, Inc. All Rights Reserved.