|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xerces.validators.common.Grammar
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Field Summary | |
static int |
TOP_LEVEL_SCOPE
Signifies top level scope (-1). |
Constructor Summary | |
Grammar()
|
Method Summary | |
protected void |
clearContentModel(int contentSpecIndex)
|
protected int |
convertContentSpecTree(int index)
|
protected int |
createAttributeDecl()
|
protected int |
createContentSpec()
|
protected int |
createElementDecl()
|
protected boolean |
existContentModel(int contentSpecIndex)
|
boolean |
getAttributeDecl(int attributeDeclIndex,
XMLAttributeDecl attributeDecl)
|
XMLContentModel |
getContentModel(int contentSpecIndex,
int contentType,
SubstitutionGroupComparator comparator)
|
boolean |
getContentSpec(int contentSpecIndex,
XMLContentSpec contentSpec)
|
XMLContentModel |
getElementContentModel(int elementDeclIndex,
SubstitutionGroupComparator comparator)
|
boolean |
getElementDecl(int elementDeclIndex,
XMLElementDecl elementDecl)
|
int |
getElementDeclIndex(int localpartIndex,
int scopeIndex)
|
int |
getElementDeclIndex(int uriIndex,
int localpartIndex,
int scopeIndex)
|
int |
getElementDeclIndex(QName element,
int scopeIndex)
|
int |
getFirstAttributeDeclIndex(int elementDeclIndex)
|
org.w3c.dom.Document |
getGrammarDocument()
|
int |
getNextAttributeDeclIndex(int attributeDeclIndex)
|
protected boolean |
isDTD()
|
void |
printAttributes(int elementDeclIndex)
|
void |
printElements(StringPool pool)
|
protected void |
putElementNameMapping(QName name,
int scope,
int elementDeclIndex)
|
protected void |
setAttributeDecl(int elementDeclIndex,
int attributeDeclIndex,
XMLAttributeDecl attributeDecl)
|
protected void |
setContentSpec(int contentSpecIndex,
XMLContentSpec contentSpec)
|
protected void |
setElementDecl(int elementDeclIndex,
XMLElementDecl elementDecl)
|
protected void |
setFirstAttributeDeclIndex(int elementDeclIndex,
int newFirstAttrIndex)
|
protected void |
setGrammarDocument(org.w3c.dom.Document grammarDocument)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int TOP_LEVEL_SCOPE
Constructor Detail |
public Grammar()
Method Detail |
public org.w3c.dom.Document getGrammarDocument()
public int getElementDeclIndex(int localpartIndex, int scopeIndex)
public int getElementDeclIndex(int uriIndex, int localpartIndex, int scopeIndex)
public int getElementDeclIndex(QName element, int scopeIndex)
public boolean getElementDecl(int elementDeclIndex, XMLElementDecl elementDecl)
public int getFirstAttributeDeclIndex(int elementDeclIndex)
public int getNextAttributeDeclIndex(int attributeDeclIndex)
public boolean getContentSpec(int contentSpecIndex, XMLContentSpec contentSpec)
protected void clearContentModel(int contentSpecIndex)
protected boolean existContentModel(int contentSpecIndex)
public XMLContentModel getElementContentModel(int elementDeclIndex, SubstitutionGroupComparator comparator) throws java.lang.Exception
public XMLContentModel getContentModel(int contentSpecIndex, int contentType, SubstitutionGroupComparator comparator) throws java.lang.Exception
public boolean getAttributeDecl(int attributeDeclIndex, XMLAttributeDecl attributeDecl)
protected void setGrammarDocument(org.w3c.dom.Document grammarDocument)
protected int convertContentSpecTree(int index)
protected int createElementDecl()
protected void setElementDecl(int elementDeclIndex, XMLElementDecl elementDecl)
protected void putElementNameMapping(QName name, int scope, int elementDeclIndex)
protected void setFirstAttributeDeclIndex(int elementDeclIndex, int newFirstAttrIndex)
protected int createContentSpec()
protected void setContentSpec(int contentSpecIndex, XMLContentSpec contentSpec)
protected int createAttributeDecl()
protected void setAttributeDecl(int elementDeclIndex, int attributeDeclIndex, XMLAttributeDecl attributeDecl)
protected boolean isDTD()
public void printElements(StringPool pool)
public void printAttributes(int elementDeclIndex)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs70 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |