Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

WebLogic Server 6.0sp2 API Reference

## weblogic.apache.xerces.validators.schema
Class SchemaGrammar

    java.lang.Object
      |
      +--weblogic.apache.xerces.validators.common.Grammar
            |
            +--weblogic.apache.xerces.validators.schema.SchemaGrammar

public class SchemaGrammar
extends Grammar

Author:
  Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
`SchemaGrammar()`

Method Summary
`protected void` | `addAttDef(int templateElementIndex, QName attQName, int attType, int enumeration, int attDefaultType, java.lang.String attDefaultValue, DatatypeValidator dv, boolean isList)`
`protected int` | `addContentSpecNode(int contentSpecType, int value, int otherValue, boolean mustBeUnique)`
`protected int` | `addElementDecl(QName eltQName, int enclosingScope, int scopeDefined, int contentSpecType, int contentSpecIndex, int attrListHead, DatatypeValidator dv)`
`protected int` | `createAttributeDecl()`
`protected int` | `createContentSpec()`
`protected int` | `createElementDecl()`
`java.util.Hashtable` | `getAttirubteDeclRegistry()`
`int` | `getAttributeDeclIndex(int elementIndex, QName attribute)`
`java.util.Hashtable` | `getComplexTypeRegistry()`
`DatatypeValidatorFactoryImpl` | `getDatatypeRegistry()`
`TraverseSchema.ComplexTypeInfo` | `getElementComplexTypeInfo(int elementDeclIndex)`
`int` | `getElementDeclBlockSet(int elementDeclIndex)`
`java.lang.String` | `getElementDeclEquivClassElementFullName(int elementDeclIndex)`
`int` | `getElementDeclFinalSet(int elementDeclIndex)`
`int` | `getElementDeclMiscFlags(int elementDeclIndex)`
`int` | `getElementDefaultTYpe(int elementDeclIndex)`
`java.lang.String` | `getElementDefaultValue(int elementDeclIndex)`
`int` | `getElementDefinedScope(int elementDeclIndex)`
`java.lang.String` | `getElementFromAnotherSchemaURI(int elementDeclIndex)`
`NamespacesScope` | `getNamespacesScope()`
`java.lang.String` | `getTargetNamespaceURI()`
`protected void` | `setAttributeDecl(int elementDeclIndex, int attributeDeclIndex, XMLAttributeDecl attributeDecl)`
`protected void` | `setAttributeDeclRegistry(java.util.Hashtable attrReg)`
`protected void` | `setComplexTypeRegistry(java.util.Hashtable cTypeReg)`
`protected void` | `setContentSpec(int contentSpecIndex, XMLContentSpec contentSpec)`
`protected void` | `setDatatypeRegistry(DatatypeValidatorFactoryImpl dTypeReg)`
`protected void` | `setElementComplexTypeInfo(int elementDeclIndex, TraverseSchema.ComplexTypeInfo typeInfo)`
`protected void` | `setElementDecl(int elementDeclIndex, XMLElementDecl elementDecl)`
`protected void` | `setElementDeclBlockSet(int elementDeclIndex, int blockSet)`
`protected void` | `setElementDeclEquivClassElementFullName(int elementDeclIndex, java.lang.String equivClassFullName)`
`protected void` | `setElementDeclFinalSet(int elementDeclIndex, int finalSet)`
`protected void` | `setElementDeclMiscFlags(int elementDeclIndex, int miscFlags)`
`protected void` | `setElementDefault(int elementDeclIndex, int defaultType, java.lang.String defaultValue)`
`protected void` | `setElementDefinedScope(int elementDeclIndex, int scopeDefined)`
`protected void` | `setElementFromAnotherSchemaURI(int elementDeclIndex, java.lang.String anotherSchemaURI)`
`protected void` | `setNamespacesScope(NamespacesScope nsScope)`
`protected void` | `setTargetNamespaceURI(java.lang.String targetNSUri)`

Methods inherited from class weblogic.apache.xerces.validators.common.Grammar
`getAttributeDecl, getContentSpec, getElementContentModel, getElementDecl, getElementDeclIndex, getElementDeclIndex, getElementDeclIndex, getFirstAttributeDeclIndex, getGrammarDocument, getNextAttributeDeclIndex, isDTD, printAttributes, printElements, putElementNameMapping, setFirstAttributeDeclIndex, setGrammarDocument`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SchemaGrammar

    public SchemaGrammar()

Method Detail

### getNamespacesScope

    public NamespacesScope getNamespacesScope()

### getTargetNamespaceURI

    public java.lang.String getTargetNamespaceURI()

### getAttirubteDeclRegistry

    public java.util.Hashtable getAttirubteDeclRegistry()

### getComplexTypeRegistry

    public java.util.Hashtable getComplexTypeRegistry()

### getDatatypeRegistry

    public DatatypeValidatorFactoryImpl getDatatypeRegistry()

### getElementDefinedScope

    public int getElementDefinedScope(int elementDeclIndex)

### getElementDefaultTYpe

    public int getElementDefaultTYpe(int elementDeclIndex)

### getElementDeclBlockSet

    public int getElementDeclBlockSet(int elementDeclIndex)

### getElementDeclFinalSet

    public int getElementDeclFinalSet(int elementDeclIndex)

### getElementDeclMiscFlags

    public int getElementDeclMiscFlags(int elementDeclIndex)

### getElementFromAnotherSchemaURI

    public java.lang.String getElementFromAnotherSchemaURI(int elementDeclIndex)

### getElementDefaultValue

    public java.lang.String getElementDefaultValue(int elementDeclIndex)

### getElementDeclEquivClassElementFullName

    public java.lang.String getElementDeclEquivClassElementFullName(int elementDeclIndex)

### getElementComplexTypeInfo

    public TraverseSchema.ComplexTypeInfo getElementComplexTypeInfo(int elementDeclIndex)

### setAttributeDeclRegistry

    protected void setAttributeDeclRegistry(java.util.Hashtable attrReg)

### setComplexTypeRegistry

    protected void setComplexTypeRegistry(java.util.Hashtable cTypeReg)

### setDatatypeRegistry

    protected void setDatatypeRegistry(DatatypeValidatorFactoryImpl dTypeReg)

### setNamespacesScope

    protected void setNamespacesScope(NamespacesScope nsScope)

### setTargetNamespaceURI

    protected void setTargetNamespaceURI(java.lang.String targetNSUri)

### createElementDecl

    protected int createElementDecl()

  Overrides:
    createElementDecl in class Grammar

### setElementDecl

    protected void setElementDecl(int elementDeclIndex,
                                  XMLElementDecl elementDecl)

  Overrides:
    setElementDecl in class Grammar

### createContentSpec

    protected int createContentSpec()

  Overrides:
    createContentSpec in class Grammar

### setContentSpec

    protected void setContentSpec(int contentSpecIndex,
                                  XMLContentSpec contentSpec)

  Overrides:
    setContentSpec in class Grammar

### createAttributeDecl

    protected int createAttributeDecl()

  Overrides:
    createAttributeDecl in class Grammar

### setAttributeDecl

    protected void setAttributeDecl(int elementDeclIndex,
                                    int attributeDeclIndex,
                                    XMLAttributeDecl attributeDecl)

  Overrides:
    setAttributeDecl in class Grammar

### setElementDefinedScope

    protected void setElementDefinedScope(int elementDeclIndex,
                                          int scopeDefined)

### setElementFromAnotherSchemaURI

    protected void setElementFromAnotherSchemaURI(int elementDeclIndex,
                                                  java.lang.String anotherSchemaURI)

### setElementComplexTypeInfo

    protected void setElementComplexTypeInfo(int elementDeclIndex,
                                             TraverseSchema.ComplexTypeInfo typeInfo)

### setElementDefault

    protected void setElementDefault(int elementDeclIndex,
                                     int defaultType,
                                     java.lang.String defaultValue)

### setElementDeclBlockSet

    protected void setElementDeclBlockSet(int elementDeclIndex,
                                          int blockSet)

### setElementDeclFinalSet

    protected void setElementDeclFinalSet(int elementDeclIndex,
                                          int finalSet)

### setElementDeclMiscFlags

    protected void setElementDeclMiscFlags(int elementDeclIndex,
                                           int miscFlags)

### setElementDeclEquivClassElementFullName

    protected void setElementDeclEquivClassElementFullName(int elementDeclIndex,
                                                           java.lang.String equivClassFullName)

### addElementDecl

    protected int addElementDecl(QName eltQName,
                                 int enclosingScope,
                                 int scopeDefined,
                                 int contentSpecType,
                                 int contentSpecIndex,
                                 int attrListHead,
                                 DatatypeValidator dv)

  Returns:
    elementDecl Index,

### addAttDef

    protected void addAttDef(int templateElementIndex,
                             QName attQName,
                             int attType,
                             int enumeration,
                             int attDefaultType,
                             java.lang.String attDefaultValue,
                             DatatypeValidator dv,
                             boolean isList)

  Returns:
    the new attribute List Head

### getAttributeDeclIndex

    public int getAttributeDeclIndex(int elementIndex,
                                     QName attribute)

### addContentSpecNode

    protected int addContentSpecNode(int contentSpecType,
                                     int value,
                                     int otherValue,
                                     boolean mustBeUnique)

  Returns:
    the new contentSpec Index

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs60
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD