org.apache.xerces.impl.xs
Class XSGroupDecl

java.lang.Object
  extended by org.apache.xerces.impl.xs.XSGroupDecl
All Implemented Interfaces:
XSModelGroupDefinition, XSObject

public class XSGroupDecl
extends java.lang.Object
implements XSModelGroupDefinition

The XML representation for a group declaration schema component is a global <group> element information item

Version:
$Id: XSGroupDecl.java 449424 2006-09-24 16:22:30Z mrglavas $
Author:
Sandy Gao, IBM

Field Summary
 XSObjectList fAnnotations
           
 XSModelGroupImpl fModelGroup
           
 java.lang.String fName
           
 java.lang.String fTargetNamespace
           
 
Constructor Summary
XSGroupDecl()
           
 
Method Summary
 XSAnnotation getAnnotation()
          Optional.
 XSObjectList getAnnotations()
          Optional.
 XSModelGroup getModelGroup()
          {model group} A model group.
 java.lang.String getName()
          The name of this XSObject depending on the XSObject type.
 java.lang.String getNamespace()
          The namespace URI of this node, or null if it is unspecified.
 XSNamespaceItem getNamespaceItem()
          A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; or null otherwise.
 short getType()
          Get the type of the object, i.e ELEMENT_DECLARATION.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fName

public java.lang.String fName

fTargetNamespace

public java.lang.String fTargetNamespace

fModelGroup

public XSModelGroupImpl fModelGroup

fAnnotations

public XSObjectList fAnnotations
Constructor Detail

XSGroupDecl

public XSGroupDecl()
Method Detail

getType

public short getType()
Get the type of the object, i.e ELEMENT_DECLARATION.

Specified by:
getType in interface XSObject

getName

public java.lang.String getName()
The name of this XSObject depending on the XSObject type.

Specified by:
getName in interface XSObject

getNamespace

public java.lang.String getNamespace()
The namespace URI of this node, or null if it is unspecified. defines how a namespace URI is attached to schema components.

Specified by:
getNamespace in interface XSObject

getModelGroup

public XSModelGroup getModelGroup()
{model group} A model group.

Specified by:
getModelGroup in interface XSModelGroupDefinition

getAnnotation

public XSAnnotation getAnnotation()
Optional. Annotation.

Specified by:
getAnnotation in interface XSModelGroupDefinition

getAnnotations

public XSObjectList getAnnotations()
Optional. Annotations.

Specified by:
getAnnotations in interface XSModelGroupDefinition

getNamespaceItem

public XSNamespaceItem getNamespaceItem()
Description copied from interface: XSObject
A namespace schema information item corresponding to the target namespace of the component, if it is globally declared; or null otherwise.

Specified by:
getNamespaceItem in interface XSObject
See Also:
XSObject.getNamespaceItem()