|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xalan.xsltc.compiler.SyntaxTreeNode org.apache.xalan.xsltc.compiler.UnsupportedElement
final class UnsupportedElement
Field Summary | |
---|---|
private java.util.Vector |
_fallbacks
|
private boolean |
_isExtension
|
private ErrorMsg |
_message
|
Fields inherited from class org.apache.xalan.xsltc.compiler.SyntaxTreeNode |
---|
_attributes, _parent, _qname, Dummy, IndentIncrement, UNKNOWN_STYLESHEET_NODE_ID |
Constructor Summary | |
---|---|
UnsupportedElement(java.lang.String uri,
java.lang.String prefix,
java.lang.String local,
boolean isExtension)
Basic consutrcor - stores element uri/prefix/localname |
Method Summary | |
---|---|
void |
display(int indent)
Displays the contents of this element |
void |
parseContents(Parser parser)
Find any fallback in the descendant nodes; then activate & parse it |
private void |
processFallbacks(Parser parser)
Scan and process all fallback children of the unsupported element. |
void |
setErrorMessage(ErrorMsg message)
There are different categories of unsupported elements (believe it or not): there are elements within the XSLT namespace (these would be elements that are not yet implemented), there are extensions of other XSLT processors and there are unrecognised extension elements of this XSLT processor. |
void |
translate(ClassGenerator classGen,
MethodGenerator methodGen)
Translate the fallback element (if any). |
Type |
typeCheck(SymbolTable stable)
Run type check on the fallback element (if any). |
Methods inherited from class org.apache.xalan.xsltc.compiler.SyntaxTreeNode |
---|
addAttribute, addElement, addPrefixMapping, compileResultTree, contextDependent, dependentContents, displayContents, elementAt, elementCount, elements, getAttribute, getAttribute, getAttributes, getContents, getImportPrecedence, getLineNumber, getNodeIDForStylesheetNSLookup, getParent, getParser, getPrefixMapping, getQName, getStylesheet, getSymbolTable, getTemplate, getXSLTC, hasAttribute, hasContents, indent, isDummy, lastChild, lookupNamespace, lookupPrefix, parseChildren, removeElement, reportError, reportWarning, setAttributes, setFirstElement, setLineNumber, setParent, setParser, setPrefixMapping, setQName, setQName, translateContents, typeCheckContents, updateScope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Vector _fallbacks
private ErrorMsg _message
private boolean _isExtension
Constructor Detail |
---|
public UnsupportedElement(java.lang.String uri, java.lang.String prefix, java.lang.String local, boolean isExtension)
Method Detail |
---|
public void setErrorMessage(ErrorMsg message)
public void display(int indent)
display
in class SyntaxTreeNode
indent
- Indentation level for syntax tree levels.private void processFallbacks(Parser parser)
public void parseContents(Parser parser)
parseContents
in class SyntaxTreeNode
parser
- reference to the XSLT parserpublic Type typeCheck(SymbolTable stable) throws TypeCheckError
typeCheck
in class SyntaxTreeNode
stable
- The compiler/parser's symbol table
TypeCheckError
public void translate(ClassGenerator classGen, MethodGenerator methodGen)
translate
in class SyntaxTreeNode
classGen
- BCEL Java class generatormethodGen
- BCEL Java method generator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |