|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.constraint.Constraint org.jbind.xml.schema.constraint.IdentityConstraint org.jbind.xml.schema.constraint.IdRefOrIdRefsConstraint
Constructor Summary | |
IdRefOrIdRefsConstraint(IAttrRefOrDecl aDecl,
IHasLocation aHasLocation)
|
Method Summary | |
IAnnotation |
getAnnotation()
|
IAttribute |
getBindingAttribute(java.lang.String aName)
Gets the specified binding attribute. |
java.lang.String |
getConstraintKey()
Gets the key of the reference constraint. |
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.util.Map |
getPrefixToNamespaceMapping()
|
java.lang.String |
getStringBindingAttribute(java.lang.String aName)
Gets a string valued binding attribute. |
void |
globalCheck(IDataContext aContext,
IAnyTypeData aData,
IAnyTypeData anEnclosingData,
IConstraintViolations aViolations)
Adds data references to the data context. |
boolean |
isTopLevelComponent()
|
protected abstract java.util.Iterator |
iterKeys(IAnyTypeData aData)
Iterates the keys of the data objects that are referenced by the constraint. |
Methods inherited from class org.jbind.xml.schema.constraint.IdentityConstraint |
getAddressedData, getAttributeRef, getAttrRefOrDecl, getDataType, isRestriction, localCheck, setDataType |
Methods inherited from class org.jbind.xml.schema.constraint.Constraint |
getLocation, isFinal, setIsFinal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jbind.xml.core.constraint.IIdRefOrIdRefsConstraint |
getAttrRefOrDecl |
Methods inherited from interface org.jbind.xml.core.constraint.IReferenceConstraint |
isSingleNotMultipleReference |
Methods inherited from interface org.jbind.xml.core.constraint.IIdentityConstraint |
getDataType, setDataType |
Methods inherited from interface org.jbind.xml.core.constraint.IConstraint |
getConstraintType, isFinal, isRestriction, localCheck |
Methods inherited from interface org.jbind.xml.base.IHasLocation |
getLocation |
Constructor Detail |
public IdRefOrIdRefsConstraint(IAttrRefOrDecl aDecl, IHasLocation aHasLocation)
Method Detail |
public void globalCheck(IDataContext aContext, IAnyTypeData aData, IAnyTypeData anEnclosingData, IConstraintViolations aViolations)
globalCheck
in interface IConstraint
aContext
- (required).aData
- (required).aViolations
- (required).public java.lang.String getConstraintKey()
IReferenceConstraint
getConstraintKey
in interface IReferenceConstraint
protected abstract java.util.Iterator iterKeys(IAnyTypeData aData)
IKey
.public IAttribute getLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalBindingAttribute
in interface IHasBindingAttributes
aName
- (required)
public IAttribute getDefaultedLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalBindingAttribute
in interface IHasBindingAttributes
aName
- (required)
public IAttribute getBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getBindingAttribute
in interface IHasBindingAttributes
aName
- (required)
public java.lang.String getLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalStringBindingAttribute
in interface IHasBindingAttributes
aName
- (required).
public java.lang.String getDefaultedLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalStringBindingAttribute
in interface IHasBindingAttributes
aName
- (required).
public java.lang.String getStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getStringBindingAttribute
in interface IHasBindingAttributes
aName
- (required).
public boolean isTopLevelComponent()
isTopLevelComponent
in interface ISourceInfo
public IAnnotation getAnnotation()
getAnnotation
in interface ISourceInfo
public java.util.Map getPrefixToNamespaceMapping()
getPrefixToNamespaceMapping
in interface ISourceInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |