Java Code Examples for com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet#isMultiDocument()
The following examples show how to use
com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet#isMultiDocument() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ClassGenerator.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 2
Source File: ClassGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 3
Source File: ClassGenerator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 4
Source File: ClassGenerator.java From JDKSourceCode1.8 with MIT License | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 5
Source File: ClassGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 6
Source File: ClassGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 7
Source File: ClassGenerator.java From Bytecoder with Apache License 2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 8
Source File: ClassGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 9
Source File: ClassGenerator.java From hottub with GNU General Public License v2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 10
Source File: ClassGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }
Example 11
Source File: ClassGenerator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public ClassGenerator(String class_name, String super_class_name, String file_name, int access_flags, String[] interfaces, Stylesheet stylesheet) { super(class_name, super_class_name, file_name, access_flags, interfaces); _stylesheet = stylesheet; _parser = stylesheet.getParser(); _aloadTranslet = new ALOAD(TRANSLET_INDEX); if (stylesheet.isMultiDocument()) { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.MultiDOM"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM;"; } else { _domClass = "com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter"; _domClassSig = "Lcom/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter;"; } _applyTemplatesSig = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + ")V"; _applyTemplatesSigForImport = "(" + Constants.DOM_INTF_SIG + Constants.NODE_ITERATOR_SIG + Constants.TRANSLET_OUTPUT_SIG + Constants.NODE_FIELD_SIG + ")V"; }