org.jbind.xml.base
Interface IHasBindingAttributes

All Known Subinterfaces:
IAdditionalSource, IAllDecl, IAllDesc, IAllRef, IAnnotated, IAnnotationElement, IAny, IAnyAttribute, IAnyElement, IAnySimpleType, IAnyType, IAppInfoElement, IAtomicType, IAttrDecl, IAttrDesc, IAttrGroupDecl, IAttrGroupDesc, IAttrGroupRef, IAttributeDeclaration, IAttributeGroupDeclaration, IAttributeGroupRef, IAttrRef, IAttrRefOrDecl, IAttrWildcard, IChoiceDecl, IChoiceDesc, IChoiceRef, IComplexCCType, IComplexContentModelDesc, IComplexDerivation, IComplexExtensionDerivation, IComplexRestrictionDerivation, IComplexSCType, IComplexType, IComplexTypeDef, IComponent, IComponentJobHelper, IContentDesc, IContentModelDesc, IDataRefOrDecl, IDeclaration, IDerivation, IDocumentationElement, IElemDecl, IElemDesc, IElement, IElementDeclaration, IElementIdentityConstraint, IElementInstanceConstraint, IElementKeyConstraint, IElementKeyRefConstraint, IElementParticle, IElementUniqueConstraint, IElemGroupDecl, IElemGroupDesc, IElemGroupRef, IElemRef, IElemRefOrDecl, IElemWildcard, IFacet, IField, IGroupDeclaration, IIdentityConstraintComponent, IIdentityConstraintElement, IIdRefOrIdRefsConstraint, IImport, IImportJobHelper, IInclude, IKeyConstraintElement, IKeyRefConstraintElement, IListType, IListVariety, IModelGroup, IModelGroupDeclaration, IModelGroupRef, INamed, INotation, INotation, IOpenAttributes, IPartDeclaration, IParticle, IRedefine, IReferenceConstraint, IRestrictedSimpleType, IRestrictionVariety, ISchemaElement, ISelector, ISequenceDecl, ISequenceDesc, ISequenceRef, ISimpleContentModelDesc, ISimpleDerivation, ISimpleExtensionContentModel, ISimpleExtensionDerivation, ISimpleRestrictionContentModel, ISimpleRestrictionDerivation, ISimpleType, ISimpleTypeDef, ISourceInfo, ITypeDef, ITypeIdentityConstraint, ITypeInstanceConstraint, ITypeKeyConstraint, ITypeKeyRefConstraint, ITypeUniqueConstraint, IUnionType, IUnionVariety, IUniqueConstraintElement, IVariety, IXPathComponent, IXPathConstraintElement
All Known Implementing Classes:
AbbreviatedContentModel, AbstractListType, AbstractType, AdditionalSource, AllDecl, Annotated, AnnotationElement, Any, AnyAttribute, AnyElement, AppInfoElement, AttrDecl, AttrDesc, AttrGroupDecl, AttrGroupRef, AttributeDeclaration, AttributeGroupDeclaration, AttributeGroupRef, AttributesModelGroupCreator, AttrRef, AttrRefOrDecl, AttrWildcard, BuiltInAtomicType, BuiltInSimpleType, ChoiceDecl, ComplexContentModelDesc, ComplexDerivation, ComplexExtensionDerivation, ComplexRestrictionDerivation, ComplexType, ComplexTypeCC, ComplexTypeDef, ComplexTypeSC, Component, Content, ContentModelDesc, Declaration, Derivation, DocumentationElement, ElemDecl, ElemDesc, Element, ElementDeclaration, ElementIdentityConstraint, ElementKeyConstraint, ElementKeyConstraintElement, ElementKeyRefConstraint, ElementKeyRefConstraintElement, ElementUniqueConstraint, ElementUniqueConstraintElement, ElemGroupDesc, ElemRef, ElemRefOrDecl, ElemWildcard, Facet, Field, GroupDeclaration, IdentityConstraintComponent, IdentityConstraintElement, IdRefOrIdRefsConstraint, Import, Include, ListVariety, ModelGroup, ModelGroupDeclaration, ModelGroupRef, Named, Notation, Notation, OpenAttributes, PartDeclaration, Particle, Redefine, RestrictedAtomicType, RestrictedListType, RestrictedSimpleType, RestrictedUnionType, RestrictionVariety, SchemaElement, Selector, SequenceDecl, SimpleContentModelDesc, SimpleDerivation, SimpleExtensionDerivation, SimpleRestrictionDerivation, SimpleType, SimpleTypeDef, SourceInfo, TypeDef, TypeInstanceConstraint, TypeKeyConstraint, TypeKeyConstraintElement, TypeKeyRefConstraint, TypeKeyRefConstraintElement, TypeUniqueConstraint, TypeUniqueConstraintElement, UnionType, UnionVariety, Variety, XPathComponent, XPathConstraintElement

public interface IHasBindingAttributes

Allows to access binding attributes. Two kinds of binding attributes can be distinguished: local binding attributes that are valid for one element and propagating binding attributes that propagate their values to their descendants.


Method Summary
 IAttribute getBindingAttribute(java.lang.String aName)
          Gets the specified binding attribute.
 IAttribute getDefaultedLocalBindingAttribute(java.lang.String aName)
          Gets a local binding attribute.
 java.lang.String getDefaultedLocalStringBindingAttribute(java.lang.String aName)
          Gets a string valued defaulted local binding attribute.
 IAttribute getLocalBindingAttribute(java.lang.String aName)
          Gets a local binding attribute.
 java.lang.String getLocalStringBindingAttribute(java.lang.String aName)
          Gets a string valued local binding attribute.
 java.lang.String getStringBindingAttribute(java.lang.String aName)
          Gets a string valued binding attribute.
 

Method Detail

getBindingAttribute

public IAttribute getBindingAttribute(java.lang.String aName)
Gets the specified binding attribute. The attribute may be searched in different contexts (for example a schema component may asked its ancestor component and its schema for the specified attribute. The the first occurence is returned.

Parameters:
aName - (required)
Returns:
(optional).

getLocalBindingAttribute

public IAttribute getLocalBindingAttribute(java.lang.String aName)
Gets a local binding attribute.

Parameters:
aName - (required)
Returns:
(optional).

getDefaultedLocalBindingAttribute

public IAttribute getDefaultedLocalBindingAttribute(java.lang.String aName)
Gets a local binding attribute. If the binding attribute is not specified locally then a default value is looked for. Default values can be specified on schema elements. If a schema is included by another schema then the default values of the parent schema are considered too.

Parameters:
aName - (required)
Returns:
(optional).

getLocalStringBindingAttribute

public java.lang.String getLocalStringBindingAttribute(java.lang.String aName)
Gets a string valued local binding attribute.

Parameters:
aName - (required).
Returns:
(optional).

getDefaultedLocalStringBindingAttribute

public java.lang.String getDefaultedLocalStringBindingAttribute(java.lang.String aName)
Gets a string valued defaulted local binding attribute.

Parameters:
aName - (required).
Returns:
(optional).

getStringBindingAttribute

public java.lang.String getStringBindingAttribute(java.lang.String aName)
Gets a string valued binding attribute.

Parameters:
aName - (required).
Returns:
(optional).