FileDocCategorySizeDatePackage
XSGroupDecl.javaAPI DocApache Xerces 3.0.12909Fri Sep 14 20:33:56 BST 2007org.apache.xerces.impl.xs

XSGroupDecl

public class XSGroupDecl extends Object implements XSModelGroupDefinition
The XML representation for a group declaration schema component is a global <group> element information item
xerces.internal
author
Sandy Gao, IBM
version
$Id: XSGroupDecl.java 449424 2006-09-24 16:22:30Z mrglavas $

Fields Summary
public String
fName
public String
fTargetNamespace
public XSModelGroupImpl
fModelGroup
public XSObjectList
fAnnotations
Constructors Summary
Methods Summary
public XSAnnotationgetAnnotation()
Optional. Annotation.

        return (fAnnotations != null) ? (XSAnnotation) fAnnotations.item(0) : null;
    
public XSObjectListgetAnnotations()
Optional. Annotations.

        return (fAnnotations != null) ? fAnnotations : XSObjectListImpl.EMPTY_LIST;
    
public XSModelGroupgetModelGroup()
{model group} A model group.

        return fModelGroup;
    
public java.lang.StringgetName()
The name of this XSObject depending on the XSObject type.

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

        return fTargetNamespace;
    
public XSNamespaceItemgetNamespaceItem()

see
org.apache.xerces.xs.XSObject#getNamespaceItem()

        // REVISIT: implement
		return null;
	
public shortgetType()
Get the type of the object, i.e ELEMENT_DECLARATION.


                 
       
        return XSConstants.MODEL_GROUP_DEFINITION;