com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter Java Examples

The following examples show how to use com.sun.org.apache.xalan.internal.xsltc.dom.DOMAdapter. 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: AbstractTranslet.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #2
Source File: AbstractTranslet.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #3
Source File: AbstractTranslet.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #4
Source File: AbstractTranslet.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #5
Source File: AbstractTranslet.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #6
Source File: AbstractTranslet.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #7
Source File: AbstractTranslet.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #8
Source File: AbstractTranslet.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #9
Source File: AbstractTranslet.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #10
Source File: AbstractTranslet.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}
 
Example #11
Source File: AbstractTranslet.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Wrap the initial input DOM in a dom adapter. This adapter is wrapped in
 * a DOM multiplexer if the document() function is used (handled by compiled
 * code in the translet - see compiler/Stylesheet.compileTransform()).
 */
public final DOMAdapter makeDOMAdapter(DOM dom)
    throws TransletException {
    setRootForKeys(dom.getDocument());
    return new DOMAdapter(dom, namesArray, urisArray, typesArray, namespaceArray);
}