Java Code Examples for com.sun.xml.internal.xsom.XSSchemaSet#getSchemas()

The following examples show how to use com.sun.xml.internal.xsom.XSSchemaSet#getSchemas() . 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: SchemaSetImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public List<XSElementDecl> getElementDecls() {
    ArrayList declList = new ArrayList();
    XSSchemaSet schemaSet = getRoot();
    for (XSSchema sch : schemaSet.getSchemas()) {
        for (XSElementDecl decl : sch.getElementDecls().values()) {
            if (decl.getType().equals(this)) {
                declList.add(decl);
            }
        }
    }
    return declList;
}
 
Example 2
Source File: RefererFinder.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public void schemaSet(XSSchemaSet xss) {
    if(!visited.add(xss))       return;

    for (XSSchema xs : xss.getSchemas()) {
        schema(xs);
    }
}
 
Example 3
Source File: ComplexTypeImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public List<XSElementDecl> getElementDecls() {
    ArrayList declList = new ArrayList();
    XSSchemaSet schemaSet = getRoot();
    for (XSSchema sch : schemaSet.getSchemas()) {
        for (XSElementDecl decl : sch.getElementDecls().values()) {
            if (decl.getType().equals(this)) {
                declList.add(decl);
            }
        }
    }
    return declList;
}
 
Example 4
Source File: SchemaSetImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public List<XSElementDecl> getElementDecls() {
    ArrayList declList = new ArrayList();
    XSSchemaSet schemaSet = getRoot();
    for (XSSchema sch : schemaSet.getSchemas()) {
        for (XSElementDecl decl : sch.getElementDecls().values()) {
            if (decl.getType().equals(this)) {
                declList.add(decl);
            }
        }
    }
    return declList;
}
 
Example 5
Source File: RefererFinder.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public void schemaSet(XSSchemaSet xss) {
    if(!visited.add(xss))       return;

    for (XSSchema xs : xss.getSchemas()) {
        schema(xs);
    }
}
 
Example 6
Source File: ComplexTypeImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public List<XSElementDecl> getElementDecls() {
    ArrayList declList = new ArrayList();
    XSSchemaSet schemaSet = getRoot();
    for (XSSchema sch : schemaSet.getSchemas()) {
        for (XSElementDecl decl : sch.getElementDecls().values()) {
            if (decl.getType().equals(this)) {
                declList.add(decl);
            }
        }
    }
    return declList;
}
 
Example 7
Source File: RefererFinder.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public void schemaSet(XSSchemaSet xss) {
    if(!visited.add(xss))       return;

    for (XSSchema xs : xss.getSchemas()) {
        schema(xs);
    }
}
 
Example 8
Source File: ComplexTypeImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public List<XSElementDecl> getElementDecls() {
    ArrayList declList = new ArrayList();
    XSSchemaSet schemaSet = getRoot();
    for (XSSchema sch : schemaSet.getSchemas()) {
        for (XSElementDecl decl : sch.getElementDecls().values()) {
            if (decl.getType().equals(this)) {
                declList.add(decl);
            }
        }
    }
    return declList;
}
 
Example 9
Source File: RefererFinder.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public void schemaSet(XSSchemaSet xss) {
    if(!visited.add(xss))       return;

    for (XSSchema xs : xss.getSchemas()) {
        schema(xs);
    }
}
 
Example 10
Source File: SchemaSetImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public List<XSElementDecl> getElementDecls() {
    ArrayList declList = new ArrayList();
    XSSchemaSet schemaSet = getRoot();
    for (XSSchema sch : schemaSet.getSchemas()) {
        for (XSElementDecl decl : sch.getElementDecls().values()) {
            if (decl.getType().equals(this)) {
                declList.add(decl);
            }
        }
    }
    return declList;
}
 
Example 11
Source File: RefererFinder.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public void schemaSet(XSSchemaSet xss) {
    if(!visited.add(xss))       return;

    for (XSSchema xs : xss.getSchemas()) {
        schema(xs);
    }
}
 
Example 12
Source File: RefererFinder.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public void schemaSet(XSSchemaSet xss) {
    if(!visited.add(xss))       return;

    for (XSSchema xs : xss.getSchemas()) {
        schema(xs);
    }
}
 
Example 13
Source File: SchemaSetImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public List<XSElementDecl> getElementDecls() {
    ArrayList declList = new ArrayList();
    XSSchemaSet schemaSet = getRoot();
    for (XSSchema sch : schemaSet.getSchemas()) {
        for (XSElementDecl decl : sch.getElementDecls().values()) {
            if (decl.getType().equals(this)) {
                declList.add(decl);
            }
        }
    }
    return declList;
}
 
Example 14
Source File: RefererFinder.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public void schemaSet(XSSchemaSet xss) {
    if(!visited.add(xss))       return;

    for (XSSchema xs : xss.getSchemas()) {
        schema(xs);
    }
}
 
Example 15
Source File: ComplexTypeImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public List<XSElementDecl> getElementDecls() {
    ArrayList declList = new ArrayList();
    XSSchemaSet schemaSet = getRoot();
    for (XSSchema sch : schemaSet.getSchemas()) {
        for (XSElementDecl decl : sch.getElementDecls().values()) {
            if (decl.getType().equals(this)) {
                declList.add(decl);
            }
        }
    }
    return declList;
}
 
Example 16
Source File: SchemaSetImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public List<XSElementDecl> getElementDecls() {
    ArrayList declList = new ArrayList();
    XSSchemaSet schemaSet = getRoot();
    for (XSSchema sch : schemaSet.getSchemas()) {
        for (XSElementDecl decl : sch.getElementDecls().values()) {
            if (decl.getType().equals(this)) {
                declList.add(decl);
            }
        }
    }
    return declList;
}
 
Example 17
Source File: SchemaTreeTraverser.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Visits the root schema set.
 *
 * @param s Root schema set.
 */
public void visit(XSSchemaSet s) {
    for (XSSchema schema : s.getSchemas()) {
        schema(schema);
    }
}
 
Example 18
Source File: SchemaTreeTraverser.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Visits the root schema set.
 *
 * @param s Root schema set.
 */
public void visit(XSSchemaSet s) {
    for (XSSchema schema : s.getSchemas()) {
        schema(schema);
    }
}
 
Example 19
Source File: SchemaTreeTraverser.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Visits the root schema set.
 *
 * @param s Root schema set.
 */
public void visit(XSSchemaSet s) {
    for (XSSchema schema : s.getSchemas()) {
        schema(schema);
    }
}
 
Example 20
Source File: SchemaTreeTraverser.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Visits the root schema set.
 *
 * @param s Root schema set.
 */
public void visit(XSSchemaSet s) {
    for (XSSchema schema : s.getSchemas()) {
        schema(schema);
    }
}