/** * Creates node for wild card with additional attributes. * * @param wc Wild card. * @param extraAtts Additional attributes. */ private void wildcard(XSWildcard wc, String extraAtts) { // TODO SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "Any ", new Object[]{extraAtts}), wc.getLocator()); currNode.add(newNode); }
/** * Creates node for wild card with additional attributes. * * @param wc Wild card. * @param extraAtts Additional attributes. */ private void wildcard(XSWildcard wc, String extraAtts) { // TODO SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "Any ", new Object[]{extraAtts}), wc.getLocator()); currNode.add(newNode); }
/** * Creates node for wild card with additional attributes. * * @param wc Wild card. * @param extraAtts Additional attributes. */ private void wildcard(XSWildcard wc, String extraAtts) { // TODO SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "Any ", new Object[]{extraAtts}), wc.getLocator()); currNode.add(newNode); }
public void modelGroupDecl(XSModelGroupDecl decl) { // reference SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat .format("Group ref=\"'{'{0}'}'{1}\"{2}", new Object[]{ decl.getTargetNamespace(), decl.getName(), extraAtts}), decl.getLocator()); currNode.add(newNode); }
public void notation(XSNotation notation) { SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "Notation name='\"0}\" public =\"{1}\" system=\"{2}\"", new Object[]{notation.getName(), notation.getPublicId(), notation.getSystemId()}), notation.getLocator()); this.currNode.add(newNode); }
public void simpleType(XSSimpleType type) { String str = MessageFormat.format("Simple type {0}", new Object[]{type.isLocal() ? "" : " name=\"" + type.getName() + "\""}); SchemaTreeNode newNode = new SchemaTreeNode(str, type.getLocator()); this.currNode.add(newNode); this.currNode = newNode; type.visit((XSSimpleTypeVisitor) this); this.currNode = (SchemaTreeNode) this.currNode.getParent(); }
/** * 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); }
public void modelGroupDecl(XSModelGroupDecl decl) { SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "Group name=\"{0}\"", new Object[]{decl.getName()}), decl.getLocator()); this.currNode.add(newNode); this.currNode = newNode; modelGroup(decl.getModelGroup()); this.currNode = (SchemaTreeNode) this.currNode.getParent(); }
public void simpleType(XSSimpleType type) { String str = MessageFormat.format("Simple type {0}", new Object[]{type.isLocal() ? "" : " name=\"" + type.getName() + "\""}); SchemaTreeNode newNode = new SchemaTreeNode(str, type.getLocator()); this.currNode.add(newNode); this.currNode = newNode; type.visit((XSSimpleTypeVisitor) this); this.currNode = (SchemaTreeNode) this.currNode.getParent(); }
public void modelGroupDecl(XSModelGroupDecl decl) { SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "Group name=\"{0}\"", new Object[]{decl.getName()}), decl.getLocator()); this.currNode.add(newNode); this.currNode = newNode; modelGroup(decl.getModelGroup()); this.currNode = (SchemaTreeNode) this.currNode.getParent(); }
public void modelGroupDecl(XSModelGroupDecl decl) { // reference SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat .format("Group ref=\"'{'{0}'}'{1}\"{2}", new Object[]{ decl.getTargetNamespace(), decl.getName(), extraAtts}), decl.getLocator()); currNode.add(newNode); }
public void notation(XSNotation notation) { SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "Notation name='\"0}\" public =\"{1}\" system=\"{2}\"", new Object[]{notation.getName(), notation.getPublicId(), notation.getSystemId()}), notation.getLocator()); this.currNode.add(newNode); }
/** * 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); }
public void notation(XSNotation notation) { SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "Notation name='\"0}\" public =\"{1}\" system=\"{2}\"", new Object[]{notation.getName(), notation.getPublicId(), notation.getSystemId()}), notation.getLocator()); this.currNode.add(newNode); }
public void simpleType(XSSimpleType type) { String str = MessageFormat.format("Simple type {0}", new Object[]{type.isLocal() ? "" : " name=\"" + type.getName() + "\""}); SchemaTreeNode newNode = new SchemaTreeNode(str, type.getLocator()); this.currNode.add(newNode); this.currNode = newNode; type.visit((XSSimpleTypeVisitor) this); this.currNode = (SchemaTreeNode) this.currNode.getParent(); }
/** * 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); }
public void facet(XSFacet facet) { SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "{0} value=\"{1}\"", new Object[]{facet.getName(), facet.getValue(), }), facet.getLocator()); this.currNode.add(newNode); }
public void modelGroupDecl(XSModelGroupDecl decl) { // reference SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat .format("Group ref=\"'{'{0}'}'{1}\"{2}", new Object[]{ decl.getTargetNamespace(), decl.getName(), extraAtts}), decl.getLocator()); currNode.add(newNode); }
public void modelGroupDecl(XSModelGroupDecl decl) { SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "Group name=\"{0}\"", new Object[]{decl.getName()}), decl.getLocator()); this.currNode.add(newNode); this.currNode = newNode; modelGroup(decl.getModelGroup()); this.currNode = (SchemaTreeNode) this.currNode.getParent(); }
public void facet(XSFacet facet) { SchemaTreeNode newNode = new SchemaTreeNode(MessageFormat.format( "{0} value=\"{1}\"", new Object[]{facet.getName(), facet.getValue(), }), facet.getLocator()); this.currNode.add(newNode); }