BEA Systems, Inc.

WebLogic Server 6.1 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


Fields inherited from class weblogic.apache.xerces.validators.common.Grammar
TOP_LEVEL_SCOPE
 
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)
           
 int getElementDeclFinalSet(int elementDeclIndex)
           
 int getElementDeclMiscFlags(int elementDeclIndex)
           
 java.lang.String getElementDeclSubstitutionGroupElementFullName(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 setElementDeclFinalSet(int elementDeclIndex, int finalSet)
           
protected  void setElementDeclMiscFlags(int elementDeclIndex, int miscFlags)
           
protected  void setElementDeclSubstitutionGroupElementFullName(int elementDeclIndex, java.lang.String substitutionGroupFullName)
           
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)

getElementDeclSubstitutionGroupElementFullName

public java.lang.String getElementDeclSubstitutionGroupElementFullName(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)

setElementDeclSubstitutionGroupElementFullName

protected void setElementDeclSubstitutionGroupElementFullName(int elementDeclIndex,
                                                              java.lang.String substitutionGroupFullName)

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

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.