/** * @see org.artificer.common.visitors.HierarchicalArtifactVisitor#visit(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.ComplexTypeDeclaration) */ @Override public void visit(ComplexTypeDeclaration artifact) { super.visit(artifact); try { createProperty("namespace", artifact.getNamespace()); createProperty("ncName", artifact.getNCName()); } catch (Exception e) { throw new RuntimeException(e); } }
/** * @see org.overlord.sramp.common.visitors.HierarchicalArtifactVisitorAdapter#visit(org.oasis_open.docs.s_ramp.ns.s_ramp_v1.ComplexTypeDeclaration) */ @Override public void visit(ComplexTypeDeclaration artifact) { super.visit(artifact); try { setProperty("sramp:namespace", artifact.getNamespace()); //$NON-NLS-1$ setProperty("sramp:ncName", artifact.getNCName()); //$NON-NLS-1$ } catch (Exception e) { throw new RuntimeException(e); } }
} else if (artifact instanceof ComplexTypeDeclaration) { ComplexTypeDeclaration complexType = (ComplexTypeDeclaration) artifact; QName key = new QName(complexType.getNamespace(), complexType.getNCName()); schemaTypeIndex.put(key, complexType); } else if (artifact instanceof Message) {
} else if (artifact instanceof ComplexTypeDeclaration) { ComplexTypeDeclaration complexType = (ComplexTypeDeclaration) artifact; QName key = new QName(complexType.getNamespace(), complexType.getNCName()); schemaTypeIndex.put(key, complexType); } else if (artifact instanceof Message) {
} else if (dat instanceof ComplexTypeDeclaration) { numComplexTypes++; complexTypeNames.add(((ComplexTypeDeclaration) dat).getNCName());
} else if (artifact instanceof ComplexTypeDeclaration) { ComplexTypeDeclaration arty = (ComplexTypeDeclaration) artifact; index.put(new QName(arty.getArtifactType().toString(), arty.getNCName()), artifact);