com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet Java Examples

The following examples show how to use com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet. 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: ErrorMsg.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
private String getFileName(SyntaxTreeNode node) {
    Stylesheet stylesheet = node.getStylesheet();
    if (stylesheet != null)
        return stylesheet.getSystemId();
    else
        return null;
}
 
Example #2
Source File: NodeCounterGenerator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public NodeCounterGenerator(String className,
                            String superClassName,
                            String fileName,
                            int accessFlags,
                            String[] interfaces,
                            Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #3
Source File: NodeSortRecordGenerator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public NodeSortRecordGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
    _aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
Example #4
Source File: ClassGenerator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
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: ErrorMsg.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private String getFileName(SyntaxTreeNode node) {
    Stylesheet stylesheet = node.getStylesheet();
    if (stylesheet != null)
        return stylesheet.getSystemId();
    else
        return null;
}
 
Example #6
Source File: NodeCounterGenerator.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public NodeCounterGenerator(String className,
                            String superClassName,
                            String fileName,
                            int accessFlags,
                            String[] interfaces,
                            Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #7
Source File: NodeSortRecordFactGenerator.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public NodeSortRecordFactGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #8
Source File: FilterGenerator.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public FilterGenerator(String className, String superClassName,
                       String fileName,
                       int accessFlags, String[] interfaces,
                       Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);

    _aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
Example #9
Source File: ClassGenerator.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
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: NodeSortRecordGenerator.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public NodeSortRecordGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
    _aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
Example #11
Source File: ErrorMsg.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private String getFileName(SyntaxTreeNode node) {
    Stylesheet stylesheet = node.getStylesheet();
    if (stylesheet != null)
        return stylesheet.getSystemId();
    else
        return null;
}
 
Example #12
Source File: NodeCounterGenerator.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public NodeCounterGenerator(String className,
                            String superClassName,
                            String fileName,
                            int accessFlags,
                            String[] interfaces,
                            Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #13
Source File: NodeSortRecordGenerator.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public NodeSortRecordGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
    _aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
Example #14
Source File: NodeSortRecordFactGenerator.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public NodeSortRecordFactGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #15
Source File: NodeCounterGenerator.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
public NodeCounterGenerator(String className,
                            String superClassName,
                            String fileName,
                            int accessFlags,
                            String[] interfaces,
                            Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #16
Source File: NodeSortRecordFactGenerator.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public NodeSortRecordFactGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #17
Source File: NodeSortRecordGenerator.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
public NodeSortRecordGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
    _aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
Example #18
Source File: ClassGenerator.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
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 #19
Source File: FilterGenerator.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
public FilterGenerator(String className, String superClassName,
                       String fileName,
                       int accessFlags, String[] interfaces,
                       Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);

    _aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
Example #20
Source File: NodeSortRecordFactGenerator.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
public NodeSortRecordFactGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #21
Source File: NodeCounterGenerator.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public NodeCounterGenerator(String className,
                            String superClassName,
                            String fileName,
                            int accessFlags,
                            String[] interfaces,
                            Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #22
Source File: ErrorMsg.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private String getFileName(SyntaxTreeNode node) {
    Stylesheet stylesheet = node.getStylesheet();
    if (stylesheet != null)
        return stylesheet.getSystemId();
    else
        return null;
}
 
Example #23
Source File: NodeSortRecordGenerator.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public NodeSortRecordGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
    _aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
Example #24
Source File: ClassGenerator.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
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 #25
Source File: FilterGenerator.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public FilterGenerator(String className, String superClassName,
                       String fileName,
                       int accessFlags, String[] interfaces,
                       Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);

    _aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
Example #26
Source File: NodeSortRecordFactGenerator.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public NodeSortRecordFactGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #27
Source File: NodeCounterGenerator.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public NodeCounterGenerator(String className,
                            String superClassName,
                            String fileName,
                            int accessFlags,
                            String[] interfaces,
                            Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
}
 
Example #28
Source File: ErrorMsg.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
private String getFileName(SyntaxTreeNode node) {
    Stylesheet stylesheet = node.getStylesheet();
    if (stylesheet != null)
        return stylesheet.getSystemId();
    else
        return null;
}
 
Example #29
Source File: NodeSortRecordGenerator.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public NodeSortRecordGenerator(String className, String superClassName,
                               String fileName,
                               int accessFlags, String[] interfaces,
                               Stylesheet stylesheet) {
    super(className, superClassName, fileName,
          accessFlags, interfaces, stylesheet);
    _aloadTranslet = new ALOAD(TRANSLET_INDEX);
}
 
Example #30
Source File: ClassGenerator.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
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";
}