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
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).