/** * Creates new XmlSchemaType */ public XmlSchemaType(XmlSchema schema) { this.schema = schema; finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
tmp = simpleTypeObj.finalDerivation.getValue(); if (!tmp.equals(Constants.BlockConstants.NONE)) {
tmp = simpleTypeObj.finalDerivation.getValue(); if (!tmp.equals(Constants.BlockConstants.NONE)) {
/** * Creates new XmlSchemaType */ public XmlSchemaType(XmlSchema schema) { this.schema = schema; finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
String block = complexTypeObj.block.getValue(); if (!block.equals(Constants.BlockConstants.NONE)) { block = convertString(block); "block", block); String finalDerivation = complexTypeObj.finalDerivation.getValue(); if (!finalDerivation.equals(Constants.BlockConstants.NONE)) { finalDerivation = convertString(finalDerivation);
/** * Creates new XmlSchemaType */ public XmlSchemaType(XmlSchema schema) { this.schema = schema; finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); }
tmp = simpleTypeObj.finalDerivation.getValue(); if (!tmp.equals(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); }
String blockDefault = schemaObj.blockDefault.getValue(); if (!blockDefault.equals(Constants.BlockConstants.NONE)) { blockDefault = convertString(blockDefault); String finalDefault = schemaObj.finalDefault.getValue(); if (!finalDefault.equals(Constants.BlockConstants.NONE)) { finalDefault = convertString(finalDefault);
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); }
String blockDefault = schemaObj.blockDefault.getValue(); if (!blockDefault.equals(Constants.BlockConstants.NONE)) { blockDefault = convertString(blockDefault); String finalDefault = schemaObj.finalDefault.getValue(); if (!finalDefault.equals(Constants.BlockConstants.NONE)) { finalDefault = convertString(finalDefault);
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); }
serializedEl.setAttribute("abstract", "true"); String block = elementObj.block.getValue(); if (!block.equals(Constants.BlockConstants.NONE)) { block = convertString(block); elementObj.defaultValue); String finalDerivation = elementObj.finalDerivation.getValue(); if (!finalDerivation.equals(Constants.BlockConstants.NONE)) { finalDerivation = convertString(finalDerivation);
/** * Creates new XmlSchemaComplexType */ public XmlSchemaComplexType(XmlSchema schema) { super(schema); attributes = new XmlSchemaObjectCollection(); block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE); isAbstract = false; isMixed = false; }
serializedEl.setAttribute("abstract", "true"); String block = elementObj.block.getValue(); if (!block.equals(Constants.BlockConstants.NONE)) { block = convertString(block); elementObj.defaultValue); String finalDerivation = elementObj.finalDerivation.getValue(); if (!finalDerivation.equals(Constants.BlockConstants.NONE)) { finalDerivation = convertString(finalDerivation);
/** * 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); }
String block = complexTypeObj.block.getValue(); if (!block.equals(Constants.BlockConstants.NONE)) { block = convertString(block); "block", block); String finalDerivation = complexTypeObj.finalDerivation.getValue(); if (!finalDerivation.equals(Constants.BlockConstants.NONE)) { finalDerivation = convertString(finalDerivation);
/** * 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); }
String block = complexTypeObj.block.getValue(); if (!block.equals(Constants.BlockConstants.NONE)) { block = convertString(block); "block", block); String finalDerivation = complexTypeObj.finalDerivation.getValue(); if (!finalDerivation.equals(Constants.BlockConstants.NONE)) { finalDerivation = convertString(finalDerivation);
/** * 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); }