| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private boolean | |
| private ErrorMsg |
| Access | Constructor and Description |
|---|---|
| public | UnsupportedElement(String uri, String prefix, String local, boolean isExtension)
Basic consutrcor - stores element uri/prefix/localname |
| Modifier and Type | Method and Description |
|---|---|
| public void | display(int indent)
Overrides com. Displays the contents of this element |
| public void | parseContents(Parser parser)
Overrides com. Find any fallback in the descendant nodes; then activate & parse it |
| private void | |
| public 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. |
| public void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Implements abstract com. Translate the fallback element (if any). |
| public Type | typeCheck(SymbolTable stable)
Implements abstract com. Run type check on the fallback element (if any). |
| _fallbacks | back to summary |
|---|---|
| private List<SyntaxTreeNode> _fallbacks | |
| _isExtension | back to summary |
|---|---|
| private boolean _isExtension | |
| _message | back to summary |
|---|---|
| private ErrorMsg _message | |
| UnsupportedElement | back to summary |
|---|---|
| public UnsupportedElement(String uri, String prefix, String local, boolean isExtension) Basic consutrcor - stores element uri/prefix/localname | |
| display | back to summary |
|---|---|
| public void display(int indent) Overrides com. Displays the contents of this element | |
| parseContents | back to summary |
|---|---|
| public void parseContents(Parser parser) Overrides com. Find any fallback in the descendant nodes; then activate & parse it | |
| processFallbacks | back to summary |
|---|---|
| private void processFallbacks(Parser parser) Scan and process all fallback children of the unsupported element. | |
| setErrorMessage | back to summary |
|---|---|
| public 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. The error message passed to this method should describe the unsupported element itself and what category the element belongs in. | |
| translate | back to summary |
|---|---|
| public void translate(ClassGenerator classGen, MethodGenerator methodGen) Implements abstract com. Translate the fallback element (if any). | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Implements abstract com. Run type check on the fallback element (if any). | |