/** * Creates new XmlSchemaType */ public XmlSchemaType(XmlSchema schema) { this.schema = schema; finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
/** * Creates new XmlSchemaType */ public XmlSchemaType(XmlSchema schema) { this.schema = schema; finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
/** * Creates new XmlSchemaType */ public XmlSchemaType(XmlSchema schema) { this.schema = schema; finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
XmlSchemaDerivationMethod getDerivation(Element el, String attrName) { if (el.hasAttribute(attrName) && !el.getAttribute(attrName).equals("")) { //#all | List of (extension | restriction | substitution String derivationMethod = el.getAttribute(attrName).trim(); if (derivationMethod.equals("#all")) return new XmlSchemaDerivationMethod(Constants.BlockConstants.ALL); else return new XmlSchemaDerivationMethod(derivationMethod); } return new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
XmlSchemaDerivationMethod getDerivation(Element el, String attrName) { if (el.hasAttribute(attrName) && !el.getAttribute(attrName).equals("")) { //#all | List of (extension | restriction | substitution String derivationMethod = el.getAttribute(attrName).trim(); if (derivationMethod.equals("#all")) return new XmlSchemaDerivationMethod( Constants.BlockConstants.ALL); else return new XmlSchemaDerivationMethod(derivationMethod); } return new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
XmlSchemaDerivationMethod getDerivation(Element el, String attrName) { if (el.hasAttribute(attrName) && !el.getAttribute(attrName).equals("")) { //#all | List of (extension | restriction | substitution String derivationMethod = el.getAttribute(attrName).trim(); if (derivationMethod.equals("#all")) return new XmlSchemaDerivationMethod( Constants.BlockConstants.ALL); else return new XmlSchemaDerivationMethod(derivationMethod); } return new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
/** * Creates new XmlSchemaComplexType */ public XmlSchemaComplexType(XmlSchema schema) { super(schema); attributes = new XmlSchemaObjectCollection(); block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); isAbstract = false; isMixed = false; }
/** * Creates new XmlSchemaElement */ public XmlSchemaElement() { constraints = new XmlSchemaObjectCollection(); isAbstract = false; isNillable = false; form = new XmlSchemaForm(XmlSchemaForm.NONE); finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
/** * Creates new XmlSchemaElement */ public XmlSchemaElement() { constraints = new XmlSchemaObjectCollection(); isAbstract = false; isNillable = false; form = new XmlSchemaForm(XmlSchemaForm.NONE); finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
/** * Creates new XmlSchemaElement */ public XmlSchemaElement() { constraints = new XmlSchemaObjectCollection(); isAbstract = false; isNillable = false; form = new XmlSchemaForm(XmlSchemaForm.NONE); finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
/** * Creates new XmlSchemaComplexType */ public XmlSchemaComplexType(XmlSchema schema) { super(schema); attributes = new XmlSchemaObjectCollection(); block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); isAbstract = false; isMixed = false; }
/** * Creates new XmlSchemaComplexType */ public XmlSchemaComplexType(XmlSchema schema) { super(schema); attributes = new XmlSchemaObjectCollection(); block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); isAbstract = false; isMixed = false; }
blockStr.equalsIgnoreCase("#all")) { ct.setBlock(new XmlSchemaDerivationMethod(Constants.BlockConstants.ALL)); } else ct.setBlock(new XmlSchemaDerivationMethod(blockStr)); finalstr.equalsIgnoreCase("#all")) { ct.setFinal(new XmlSchemaDerivationMethod(Constants.BlockConstants.ALL)); } else ct.setFinal(new XmlSchemaDerivationMethod(finalstr));
| blockStr.equalsIgnoreCase("#all")) { ct.setBlock(new XmlSchemaDerivationMethod( Constants.BlockConstants.ALL)); } else ct.setBlock(new XmlSchemaDerivationMethod(blockStr)); | finalstr.equalsIgnoreCase("#all")) { ct.setFinal(new XmlSchemaDerivationMethod( Constants.BlockConstants.ALL)); } else ct.setFinal(new XmlSchemaDerivationMethod(finalstr));
| blockStr.equalsIgnoreCase("#all")) { ct.setBlock(new XmlSchemaDerivationMethod( Constants.BlockConstants.ALL)); } else ct.setBlock(new XmlSchemaDerivationMethod(blockStr)); | finalstr.equalsIgnoreCase("#all")) { ct.setFinal(new XmlSchemaDerivationMethod( Constants.BlockConstants.ALL)); } else ct.setFinal(new XmlSchemaDerivationMethod(finalstr));
/** * Creates new XmlSchema */ public XmlSchema(XmlSchemaCollection parent) { this.parent = parent; attributeFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED); elementFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED); blockDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); finalDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); items = new XmlSchemaObjectCollection(); includes = new XmlSchemaObjectCollection(); elements = new XmlSchemaObjectTable(); attributeGroups = new XmlSchemaObjectTable(); attributes = new XmlSchemaObjectTable(); groups = new XmlSchemaObjectTable(); notations = new XmlSchemaObjectTable(); schemaTypes = new XmlSchemaObjectTable(); }
| finalstr.equalsIgnoreCase("#all")) simpleType.setFinal(new XmlSchemaDerivationMethod( Constants.BlockConstants.ALL)); else simpleType.setFinal(new XmlSchemaDerivationMethod(finalstr));
finalstr.equalsIgnoreCase("#all")) simpleType.setFinal(new XmlSchemaDerivationMethod(Constants.BlockConstants.ALL)); else simpleType.setFinal(new XmlSchemaDerivationMethod(finalstr));
attributeFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED); elementFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED); blockDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); finalDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); items = new XmlSchemaObjectCollection(); includes = new XmlSchemaObjectCollection();
attributeFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED); elementFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED); blockDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); finalDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); items = new XmlSchemaObjectCollection(); includes = new XmlSchemaObjectCollection();