private void addToOutOfTypeSystemData(XmlElementName xmlElementName, Attributes attrs) throws XCASParsingException { this.outOfTypeSystemElement = new OotsElementData(); this.outOfTypeSystemElement.elementName = xmlElementName; String attrName, attrValue; for (int i = 0; i < attrs.getLength(); i++) { attrName = attrs.getQName(i); attrValue = attrs.getValue(i); if (attrName.equals(ID_ATTR_NAME)) { this.outOfTypeSystemElement.xmiId = attrValue; } else { this.outOfTypeSystemElement.attributes.add( new XmlAttribute(attrName, attrValue)); } } this.sharedData.addOutOfTypeSystemElement(this.outOfTypeSystemElement); }