FileDocCategorySizeDatePackage
XMLElementDecl.javaAPI DocJava SE 5 API4587Fri Aug 26 14:55:46 BST 2005com.sun.org.apache.xerces.internal.impl.dtd

XMLElementDecl

public class XMLElementDecl extends Object
version
$Id: XMLElementDecl.java,v 1.3 2002/01/29 01:15:10 lehors Exp $

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 QName
name
name
public int
scope
scope
public short
type
type
public 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(com.sun.org.apache.xerces.internal.xni.QName name, int scope, short type, com.sun.org.apache.xerces.internal.impl.dtd.models.ContentModelValidator contentModelValidator, com.sun.org.apache.xerces.internal.impl.dtd.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);