25262728293031323334
} OccursEnum occures = OccursEnum.optional; if (attributes.get("occurs") != null) { occures = OccursEnum.valueOf(attributes.get("occurs")); } Element element = new Element(name, type, occures); parent.addElement(element); xmlParser.nextTag(); }