Java Code Examples for com.sun.xml.internal.xsom.XSAttGroupDecl#getName()

The following examples show how to use com.sun.xml.internal.xsom.XSAttGroupDecl#getName() . 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: SchemaTreeTraverser.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
public void attGroupDecl(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group \""
            + decl.getName() + "\"", decl.getLocator());
    this.currNode.add(newNode);
    this.currNode = newNode;

    Iterator itr;

    itr = decl.iterateAttGroups();
    while (itr.hasNext()) {
        dumpRef((XSAttGroupDecl) itr.next());
    }

    itr = decl.iterateDeclaredAttributeUses();
    while (itr.hasNext()) {
        attributeUse((XSAttributeUse) itr.next());
    }

    this.currNode = (SchemaTreeNode) this.currNode.getParent();
}
 
Example 2
Source File: SchemaTreeTraverser.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
public void attGroupDecl(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group \""
            + decl.getName() + "\"", decl.getLocator());
    this.currNode.add(newNode);
    this.currNode = newNode;

    Iterator itr;

    itr = decl.iterateAttGroups();
    while (itr.hasNext()) {
        dumpRef((XSAttGroupDecl) itr.next());
    }

    itr = decl.iterateDeclaredAttributeUses();
    while (itr.hasNext()) {
        attributeUse((XSAttributeUse) itr.next());
    }

    this.currNode = (SchemaTreeNode) this.currNode.getParent();
}
 
Example 3
Source File: SchemaTreeTraverser.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
public void attGroupDecl(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group \""
            + decl.getName() + "\"", decl.getLocator());
    this.currNode.add(newNode);
    this.currNode = newNode;

    Iterator itr;

    itr = decl.iterateAttGroups();
    while (itr.hasNext()) {
        dumpRef((XSAttGroupDecl) itr.next());
    }

    itr = decl.iterateDeclaredAttributeUses();
    while (itr.hasNext()) {
        attributeUse((XSAttributeUse) itr.next());
    }

    this.currNode = (SchemaTreeNode) this.currNode.getParent();
}
 
Example 4
Source File: SchemaTreeTraverser.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
public void attGroupDecl(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group \""
            + decl.getName() + "\"", decl.getLocator());
    this.currNode.add(newNode);
    this.currNode = newNode;

    Iterator itr;

    itr = decl.iterateAttGroups();
    while (itr.hasNext()) {
        dumpRef((XSAttGroupDecl) itr.next());
    }

    itr = decl.iterateDeclaredAttributeUses();
    while (itr.hasNext()) {
        attributeUse((XSAttributeUse) itr.next());
    }

    this.currNode = (SchemaTreeNode) this.currNode.getParent();
}
 
Example 5
Source File: SchemaTreeTraverser.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
public void attGroupDecl(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group \""
            + decl.getName() + "\"", decl.getLocator());
    this.currNode.add(newNode);
    this.currNode = newNode;

    Iterator itr;

    itr = decl.iterateAttGroups();
    while (itr.hasNext()) {
        dumpRef((XSAttGroupDecl) itr.next());
    }

    itr = decl.iterateDeclaredAttributeUses();
    while (itr.hasNext()) {
        attributeUse((XSAttributeUse) itr.next());
    }

    this.currNode = (SchemaTreeNode) this.currNode.getParent();
}
 
Example 6
Source File: SchemaTreeTraverser.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
public void attGroupDecl(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group \""
            + decl.getName() + "\"", decl.getLocator());
    this.currNode.add(newNode);
    this.currNode = newNode;

    Iterator itr;

    itr = decl.iterateAttGroups();
    while (itr.hasNext()) {
        dumpRef((XSAttGroupDecl) itr.next());
    }

    itr = decl.iterateDeclaredAttributeUses();
    while (itr.hasNext()) {
        attributeUse((XSAttributeUse) itr.next());
    }

    this.currNode = (SchemaTreeNode) this.currNode.getParent();
}
 
Example 7
Source File: SchemaTreeTraverser.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
public void attGroupDecl(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group \""
            + decl.getName() + "\"", decl.getLocator());
    this.currNode.add(newNode);
    this.currNode = newNode;

    Iterator itr;

    itr = decl.iterateAttGroups();
    while (itr.hasNext()) {
        dumpRef((XSAttGroupDecl) itr.next());
    }

    itr = decl.iterateDeclaredAttributeUses();
    while (itr.hasNext()) {
        attributeUse((XSAttributeUse) itr.next());
    }

    this.currNode = (SchemaTreeNode) this.currNode.getParent();
}
 
Example 8
Source File: SchemaTreeTraverser.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates node of attribute group decalration reference.
 *
 * @param decl Attribute group decalration reference.
 */
public void dumpRef(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group ref \"{"
            + decl.getTargetNamespace() + "}" + decl.getName() + "\"", decl
            .getLocator());
    this.currNode.add(newNode);
}
 
Example 9
Source File: SchemaTreeTraverser.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates node of attribute group decalration reference.
 *
 * @param decl Attribute group decalration reference.
 */
public void dumpRef(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group ref \"{"
            + decl.getTargetNamespace() + "}" + decl.getName() + "\"", decl
            .getLocator());
    this.currNode.add(newNode);
}
 
Example 10
Source File: SchemaTreeTraverser.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates node of attribute group decalration reference.
 *
 * @param decl Attribute group decalration reference.
 */
public void dumpRef(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group ref \"{"
            + decl.getTargetNamespace() + "}" + decl.getName() + "\"", decl
            .getLocator());
    this.currNode.add(newNode);
}
 
Example 11
Source File: SchemaTreeTraverser.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates node of attribute group decalration reference.
 *
 * @param decl Attribute group decalration reference.
 */
public void dumpRef(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group ref \"{"
            + decl.getTargetNamespace() + "}" + decl.getName() + "\"", decl
            .getLocator());
    this.currNode.add(newNode);
}
 
Example 12
Source File: SchemaTreeTraverser.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates node of attribute group decalration reference.
 *
 * @param decl Attribute group decalration reference.
 */
public void dumpRef(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group ref \"{"
            + decl.getTargetNamespace() + "}" + decl.getName() + "\"", decl
            .getLocator());
    this.currNode.add(newNode);
}
 
Example 13
Source File: SchemaTreeTraverser.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates node of attribute group decalration reference.
 *
 * @param decl Attribute group decalration reference.
 */
public void dumpRef(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group ref \"{"
            + decl.getTargetNamespace() + "}" + decl.getName() + "\"", decl
            .getLocator());
    this.currNode.add(newNode);
}
 
Example 14
Source File: SchemaTreeTraverser.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates node of attribute group decalration reference.
 *
 * @param decl Attribute group decalration reference.
 */
public void dumpRef(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group ref \"{"
            + decl.getTargetNamespace() + "}" + decl.getName() + "\"", decl
            .getLocator());
    this.currNode.add(newNode);
}
 
Example 15
Source File: SchemaTreeTraverser.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates node of attribute group decalration reference.
 *
 * @param decl Attribute group decalration reference.
 */
public void dumpRef(XSAttGroupDecl decl) {
    SchemaTreeNode newNode = new SchemaTreeNode("Attribute group ref \"{"
            + decl.getTargetNamespace() + "}" + decl.getName() + "\"", decl
            .getLocator());
    this.currNode.add(newNode);
}
 
Example 16
Source File: ComponentNameFunction.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @see com.sun.xml.internal.xsom.visitor.XSFunction#attGroupDecl(XSAttGroupDecl)
 */
public String attGroupDecl(XSAttGroupDecl decl) {
    String name = decl.getName();
    if( name == null ) name = "";
    return name + " " + nameGetter.attGroupDecl( decl );
}
 
Example 17
Source File: ComponentNameFunction.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @see com.sun.xml.internal.xsom.visitor.XSFunction#attGroupDecl(XSAttGroupDecl)
 */
public String attGroupDecl(XSAttGroupDecl decl) {
    String name = decl.getName();
    if( name == null ) name = "";
    return name + " " + nameGetter.attGroupDecl( decl );
}
 
Example 18
Source File: ComponentNameFunction.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @see com.sun.xml.internal.xsom.visitor.XSFunction#attGroupDecl(XSAttGroupDecl)
 */
public String attGroupDecl(XSAttGroupDecl decl) {
    String name = decl.getName();
    if( name == null ) name = "";
    return name + " " + nameGetter.attGroupDecl( decl );
}
 
Example 19
Source File: ComponentNameFunction.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @see com.sun.xml.internal.xsom.visitor.XSFunction#attGroupDecl(XSAttGroupDecl)
 */
public String attGroupDecl(XSAttGroupDecl decl) {
    String name = decl.getName();
    if( name == null ) name = "";
    return name + " " + nameGetter.attGroupDecl( decl );
}
 
Example 20
Source File: ComponentNameFunction.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * @see com.sun.xml.internal.xsom.visitor.XSFunction#attGroupDecl(XSAttGroupDecl)
 */
public String attGroupDecl(XSAttGroupDecl decl) {
    String name = decl.getName();
    if( name == null ) name = "";
    return name + " " + nameGetter.attGroupDecl( decl );
}