|
|
|
|
|
|
|
|
NodeList list = localComplexTypeRootNode.getChildNodes(); |
|
|
NodeList list = localComplexTypeRootNode.getChildNodes(); |
|
|
String complexTypeName = ""; |
|
|
String complexTypeName = ""; |
|
|
|
|
|
|
|
|
for(final Node node : list) { |
|
|
|
|
|
|
|
|
for(int i=0; i<list.getLength(); i++) { |
|
|
|
|
|
final Node node = list.item(i); |
|
|
if ( node instanceof Element && "element".equals(node.getLocalName())) { |
|
|
if ( node instanceof Element && "element".equals(node.getLocalName())) { |
|
|
Node nameAttribute = getNameOrRefElement(node); |
|
|
Node nameAttribute = getNameOrRefElement(node); |
|
|
if (nameAttribute.getNodeValue().equals(elementNameWithoutNamespace)) { |
|
|
if (nameAttribute.getNodeValue().equals(elementNameWithoutNamespace)) { |