com.sun.org.apache.xerces.internal.xs.XSNotationDeclaration Java Examples

The following examples show how to use com.sun.org.apache.xerces.internal.xs.XSNotationDeclaration. 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: XSModelImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #2
Source File: XSModelImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #3
Source File: XSModelImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #4
Source File: XSModelImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #5
Source File: XSModelImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #6
Source File: XSModelImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #7
Source File: XSModelImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #8
Source File: XSModelImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #9
Source File: XSModelImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #10
Source File: XSModelImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #11
Source File: XSModelImpl.java    From Bytecoder with Apache License 2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #12
Source File: XSModelImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #13
Source File: XSModelImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #14
Source File: XSModelImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #15
Source File: XSModelImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #16
Source File: XSModelImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #17
Source File: XSModelImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #18
Source File: XSModelImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #19
Source File: XSModelImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #20
Source File: XSModelImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #21
Source File: XSModelImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace,
                                             String loc) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return sg.getGlobalNotationDecl(name, loc);
}
 
Example #22
Source File: XSModelImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * @see org.apache.xerces.xs.XSModel#getNotationDeclaration(String, String)
 */
public XSNotationDeclaration getNotationDeclaration(String name,
                                             String namespace) {
    SchemaGrammar sg = (SchemaGrammar)fGrammarMap.get(null2EmptyString(namespace));
    if (sg == null) {
        return null;
    }
    return (XSNotationDeclaration)sg.fGlobalNotationDecls.get(name);
}
 
Example #23
Source File: SchemaGrammar.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Convenience method. Returns a top-level notation declaration.
 *
 * @param name      The name of the declaration.
 * @return A top-level notation declaration or null if such declaration
 *         does not exist.
 */
public XSNotationDeclaration getNotationDeclaration(String name) {
    return getGlobalNotationDecl(name);
}
 
Example #24
Source File: ElementPSVImpl.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * [notation]
 * @see <a href="http://www.w3.org/TR/xmlschema-1/#e-notation>XML Schema Part 1: Structures [notation]</a>
 * @return The notation declaration.
 */
public XSNotationDeclaration getNotation() {
    return fNotation;
}
 
Example #25
Source File: ElementPSVImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * [notation]
 * @see <a href="http://www.w3.org/TR/xmlschema-1/#e-notation>XML Schema Part 1: Structures [notation]</a>
 * @return The notation declaration.
 */
public XSNotationDeclaration getNotation() {
    return fNotation;
}
 
Example #26
Source File: SchemaGrammar.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Convenience method. Returns a top-level notation declaration.
 *
 * @param name      The name of the declaration.
 * @return A top-level notation declaration or null if such declaration
 *         does not exist.
 */
public XSNotationDeclaration getNotationDeclaration(String name) {
    return getGlobalNotationDecl(name);
}
 
Example #27
Source File: ElementPSVImpl.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * [notation]
 * @see <a href="http://www.w3.org/TR/xmlschema-1/#e-notation>XML Schema Part 1: Structures [notation]</a>
 * @return The notation declaration.
 */
public XSNotationDeclaration getNotation() {
    return fNotation;
}
 
Example #28
Source File: SchemaGrammar.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Convenience method. Returns a top-level notation declaration.
 *
 * @param name      The name of the declaration.
 * @return A top-level notation declaration or null if such declaration
 *         does not exist.
 */
public XSNotationDeclaration getNotationDeclaration(String name) {
    return getGlobalNotationDecl(name);
}
 
Example #29
Source File: ElementPSVImpl.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * [notation]
 * @see <a href="http://www.w3.org/TR/xmlschema-1/#e-notation>XML Schema Part 1: Structures [notation]</a>
 * @return The notation declaration.
 */
public XSNotationDeclaration getNotation() {
    return fNotation;
}
 
Example #30
Source File: ElementPSVImpl.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * [notation]
 * @see <a href="http://www.w3.org/TR/xmlschema-1/#e-notation>XML Schema Part 1: Structures [notation]</a>
 * @return The notation declaration.
 */
public XSNotationDeclaration getNotation() {
    return fNotation;
}