org.jbind.xml.core.content
Interface IAttrRefOrDecl

All Superinterfaces:
IAttrDesc, IComponent, IDataDesc, IDataRefOrDecl, IDefaultTextContentProvider, IHasBindingAttributes, IHasLocation, ISourceInfo
All Known Subinterfaces:
IAttrDecl, IAttrRef
All Known Implementing Classes:
AttrDecl, AttrRef, AttrRefOrDecl

public interface IAttrRefOrDecl
extends IAttrDesc, IDataRefOrDecl


Method Summary
 AttributeOccurence getOccurence()
           
 boolean hasDefaultType()
          Indicates if the attribute declaration has an explicitly assigned type or if it got the "anySimpleType" by default.
 
Methods inherited from interface org.jbind.xml.core.content.IDataDesc
checkValueConstraints, createData, createEmptyData, createUncheckedData, getDefault, getFixed, getType, isActive, isActive
 
Methods inherited from interface org.jbind.xml.core.bridge.IDefaultTextContentProvider
getDefaultTextContent
 
Methods inherited from interface org.jbind.xml.core.cmp.IComponent
accept, addSubComponent, getBindings, getGlobalRef, getName, getNamespace, getParentComponent, getSymbolspace, isAnonymous, isReference, isTopLevelComponent, setBindings, setParentComponent, validate
 
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo
getAnnotation, getPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute
 
Methods inherited from interface org.jbind.xml.core.content.IDataRefOrDecl
addValueConstraints
 

Method Detail

hasDefaultType

public boolean hasDefaultType()
Indicates if the attribute declaration has an explicitly assigned type or if it got the "anySimpleType" by default.

Returns:
Returns true iff the declaration got the default type.

getOccurence

public AttributeOccurence getOccurence()