Package org.jitterbit.xml

Examples of org.jitterbit.xml.XmlNameFactory.newQualifiedName()


     */
    private void reviseSimpleTypes() {
        XmlNameFactory nameFactory = XmlNameFactory.nonConforming();
        for (Element e : findElements("//xs:element[@type]")) {
            String type = e.getAttribute("type");
            QualifiedName qName = nameFactory.newQualifiedName(type);
            if (XMLConstants.W3C_XML_SCHEMA_NS_URI.equals(nsCtx.getNamespaceURI(qName.getPrefix()))) {
                QualifiedName revisedTypeName = translateSimpleType(nameFactory, qName);
                e.setAttribute("type", revisedTypeName.toString());
            }
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.