Package org.apache.ws.commons.schema
Interface XmlSchemaItemWithRefBase
- All Known Subinterfaces:
XmlSchemaItemWithRef<T>
- All Known Implementing Classes:
XmlSchemaAttribute,XmlSchemaAttributeGroupRef,XmlSchemaElement
public interface XmlSchemaItemWithRefBase
Common interface for all objects that can 'ref=' to a global item of the same type.
Note that this interface does not return the XmlSchemaRef, since that type is generic.
It is convenient to have a non-generic interface in common for the ref= items since
there are cases where code wants to treat them independent of the type.
-
Method Summary
-
Method Details
-
isRef
boolean isRef()- Returns:
- true if this object has a non-null ref.
-
getTargetQName
QName getTargetQName()- Returns:
- the Qualified Name of the target of the ref.
-
getRefBase
XmlSchemaRefBase getRefBase()- Returns:
- the non-generic reference object.
-