FileDocCategorySizeDatePackage
XMLElementDecl.javaAPI DocApache Xerces 3.0.12765Fri Sep 14 20:33:56 BST 2007org.apache.xerces.impl.dtd

XMLElementDecl

public class XMLElementDecl extends Object
xerces.internal
version
$Id: XMLElementDecl.java 446755 2006-09-15 21:56:27Z mrglavas $

Fields Summary
public static final short
TYPE_ANY
TYPE_ANY
public static final short
TYPE_EMPTY
TYPE_EMPTY
public static final short
TYPE_MIXED
TYPE_MIXED
public static final short
TYPE_CHILDREN
TYPE_CHILDREN
public static final short
TYPE_SIMPLE
TYPE_SIMPLE
public final org.apache.xerces.xni.QName
name
name
public int
scope
scope
public short
type
type
public org.apache.xerces.impl.dtd.models.ContentModelValidator
contentModelValidator
contentModelValidator
public final XMLSimpleType
simpleType
simpleType
Constructors Summary
Methods Summary
public voidclear()
clear

        this.name.clear();
        this.type          = -1;
        this.scope         = -1;
        this.contentModelValidator = null;
        this.simpleType.clear();
    
public voidsetValues(org.apache.xerces.xni.QName name, int scope, short type, org.apache.xerces.impl.dtd.models.ContentModelValidator contentModelValidator, XMLSimpleType simpleType)
setValues

param
name
param
scope
param
type
param
contentModelValidator
param
simpleType


    //
    // Methods
    //

                          
                
        this.name.setValues(name);
        this.scope                 = scope;
        this.type                  = type;
        this.contentModelValidator = contentModelValidator;
        this.simpleType.setValues(simpleType);