Java Code Examples for com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util#noExtName()

The following examples show how to use com.sun.org.apache.xalan.internal.xsltc.compiler.util.Util#noExtName() . 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: XSLTC.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 2
Source File: XSLTC.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 3
Source File: XSLTC.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 4
Source File: XSLTC.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 5
Source File: XSLTC.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 6
Source File: XSLTC.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 7
Source File: XSLTC.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(List urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 8
Source File: XSLTC.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 9
Source File: XSLTC.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 10
Source File: XSLTC.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}
 
Example 11
Source File: XSLTC.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Set the class name for the generated translet. This class name is
 * overridden if multiple stylesheets are compiled in one go using the
 * compile(Vector urls) method.
 * @param className The name to assign to the translet class
 */
public void setClassName(String className) {
    final String base  = Util.baseName(className);
    final String noext = Util.noExtName(base);
    String name  = Util.toJavaName(noext);

    if (_packageName == null)
        _className = name;
    else
        _className = _packageName + '.' + name;
}