org.jbind.xml.schema.element
Interface IRedefinable

All Superinterfaces:
IHasLocation, ITopLevelElement
All Known Subinterfaces:
IAttributeGroupDeclaration, IComplexTypeDef, IModelGroupDeclaration, ISimpleTypeDef, ITypeDef
All Known Implementing Classes:
AttributeGroupDeclaration, ComplexTypeDef, ModelGroupDeclaration, SimpleTypeDef, TypeDef

public interface IRedefinable
extends ITopLevelElement


Method Summary
 IRef getRedefinedRef()
          Gets the reference of the element that was redefined.
 void redefine(ITopLevelElement aRedefinedElement, IConstraintViolations aViolations)
           
 void setRedefinedRef(IRef aRef)
          Sets the reference of the element that was redefined by this element.
 
Methods inherited from interface org.jbind.xml.schema.instantiation.ITopLevelElement
getGlobalRef, setName
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 

Method Detail

redefine

public void redefine(ITopLevelElement aRedefinedElement,
                     IConstraintViolations aViolations)

getRedefinedRef

public IRef getRedefinedRef()
Gets the reference of the element that was redefined.

Returns:
(optional). If null is returned then the redefinable was not used to redefine an element.

setRedefinedRef

public void setRedefinedRef(IRef aRef)
Sets the reference of the element that was redefined by this element.

Parameters:
aRef - (required).