|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 IConstraintaContext - (required).aData - (required).aViolations - (required).public java.lang.String getConstraintKey()
IReferenceConstraint
getConstraintKey in interface IReferenceConstraintprotected abstract java.util.Iterator iterKeys(IAnyTypeData aData)
IKey.public IAttribute getLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalBindingAttribute in interface IHasBindingAttributesaName - (required)
public IAttribute getDefaultedLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalBindingAttribute in interface IHasBindingAttributesaName - (required)
public IAttribute getBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getBindingAttribute in interface IHasBindingAttributesaName - (required)
public java.lang.String getLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalStringBindingAttribute in interface IHasBindingAttributesaName - (required).
public java.lang.String getDefaultedLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalStringBindingAttribute in interface IHasBindingAttributesaName - (required).
public java.lang.String getStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getStringBindingAttribute in interface IHasBindingAttributesaName - (required).
public boolean isTopLevelComponent()
isTopLevelComponent in interface ISourceInfopublic IAnnotation getAnnotation()
getAnnotation in interface ISourceInfopublic java.util.Map getPrefixToNamespaceMapping()
getPrefixToNamespaceMapping in interface ISourceInfo
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||