org.apache.ws.commons.schema
Class XmlSchemaAttributeGroupRef

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObject
      extended by org.apache.ws.commons.schema.XmlSchemaAnnotated
          extended by org.apache.ws.commons.schema.XmlSchemaAttributeOrGroupRef
              extended by org.apache.ws.commons.schema.XmlSchemaAttributeGroupRef
All Implemented Interfaces:
XmlSchemaObjectBase, XmlSchemaAttributeGroupMember, XmlSchemaItemWithRef<XmlSchemaAttributeGroup>, XmlSchemaItemWithRefBase

public class XmlSchemaAttributeGroupRef
extends XmlSchemaAttributeOrGroupRef
implements XmlSchemaAttributeGroupMember, XmlSchemaItemWithRef<XmlSchemaAttributeGroup>

Class for the attribute group reference. Represents the World Wide Web Consortium (W3C) attributeGroup element with the ref attribute.


Constructor Summary
XmlSchemaAttributeGroupRef(XmlSchema parent)
          Create an attribute group reference.
 
Method Summary
 XmlSchemaRef<XmlSchemaAttributeGroup> getRef()
          Return the reference object.
 XmlSchemaRefBase getRefBase()
           
 QName getTargetQName()
           
 boolean isRef()
           
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes, toString
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlSchemaAttributeGroupRef

public XmlSchemaAttributeGroupRef(XmlSchema parent)
Create an attribute group reference.

Parameters:
parent - containing schema.
Method Detail

getRef

public XmlSchemaRef<XmlSchemaAttributeGroup> getRef()
Return the reference object.

Specified by:
getRef in interface XmlSchemaItemWithRef<XmlSchemaAttributeGroup>
Returns:

isRef

public boolean isRef()
Specified by:
isRef in interface XmlSchemaItemWithRefBase
Returns:
true if this object has a non-null ref.

getTargetQName

public QName getTargetQName()
Specified by:
getTargetQName in interface XmlSchemaItemWithRefBase
Returns:
the Qualified Name of the target of the ref.

getRefBase

public XmlSchemaRefBase getRefBase()
Specified by:
getRefBase in interface XmlSchemaItemWithRefBase
Returns:
the non-generic reference object.


Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.