Package org.apache.wsif.compiler.util

Examples of org.apache.wsif.compiler.util.TypeMapping


                String value = propVal.getValue();
                if (value == null || value.length() == 0)
                    throw new WSIFException(
                        "jms:propertyValue " + name + " did not have a value");
   
                TypeMapping tm = (TypeMapping) (simpleTypeReg.get(type));
                if (tm == null || tm.javaType == null)
                    throw new WSIFException(
                        "jms:propertyValue "
                            + name
                            + " had a type that was "
View Full Code Here


                            break;
                    }
                }

                // Look for a simple type that matches
                TypeMapping tm =
                    (TypeMapping) (simpleTypeReg.get(partTypeName));
                if (!foundThisArg) {
                    if (tm != null) {
                        String simpleType = tm.javaType;
                        if (types[argIndex].toString().equals(simpleType)) {
View Full Code Here

     */
    public Map getRegistry(Map reg) {

        for (Iterator i = registry.keySet().iterator(); i.hasNext();) {
            QName key = (QName) i.next();
            reg.put(key, new TypeMapping(key, (String) registry.get(key)));
        }
        return reg;

    }
View Full Code Here

    private ArrayList getAllCustomTypes() {
        ArrayList types = new ArrayList();
        Iterator typeMappingIterator = getDefaultTypeMappings();
        if (typeMappingIterator != null) {
            while (typeMappingIterator.hasNext()) {
                TypeMapping tm = (TypeMapping) typeMappingIterator.next();
                if (tm != null) {
                    String namespaceURI = tm.elementType.getNamespaceURI();
                    if (!namespaceURI.equals(WSIFConstants.NS_URI_1999_SCHEMA_XSD)
                        && !namespaceURI.equals(WSIFConstants.NS_URI_2000_SCHEMA_XSD)
                        && !namespaceURI.equals(WSIFConstants.NS_URI_2001_SCHEMA_XSD)) {
View Full Code Here

     */
    private void initialiseTypeMappings() throws WSIFException {
        Iterator typeMappingIterator = getDefaultTypeMappings();
        if (typeMappingIterator != null) {
            while (typeMappingIterator.hasNext()) {
                TypeMapping tm = (TypeMapping) typeMappingIterator.next();

                if (tm.elementType != null && tm.elementType.getNamespaceURI() != null) {
                    String namespaceURI = tm.elementType.getNamespaceURI();
                    if (namespaceURI != null
                        && !namespaceURI.equals(WSIFConstants.NS_URI_1999_SCHEMA_XSD)
View Full Code Here

    private ArrayList getAllCustomTypes() {
        ArrayList types = new ArrayList();
        Iterator typeMappingIterator = getDefaultTypeMappings();
        if (typeMappingIterator != null) {
            while (typeMappingIterator.hasNext()) {
                TypeMapping tm = (TypeMapping) typeMappingIterator.next();
                if (tm != null) {
                    String namespaceURI = tm.elementType.getNamespaceURI();
                    if (!namespaceURI.equals(WSIFConstants.NS_URI_1999_SCHEMA_XSD)
                        && !namespaceURI.equals(WSIFConstants.NS_URI_2000_SCHEMA_XSD)
                        && !namespaceURI.equals(WSIFConstants.NS_URI_2001_SCHEMA_XSD)) {
View Full Code Here

     */
    private void initialiseTypeMappings() throws WSIFException {
        Iterator typeMappingIterator = getDefaultTypeMappings();
        if (typeMappingIterator != null) {
            while (typeMappingIterator.hasNext()) {
                TypeMapping tm = (TypeMapping) typeMappingIterator.next();

                if (tm.elementType != null && tm.elementType.getNamespaceURI() != null) {
                    String namespaceURI = tm.elementType.getNamespaceURI();
                    if (namespaceURI != null
                        && !namespaceURI.equals(WSIFConstants.NS_URI_1999_SCHEMA_XSD)
View Full Code Here

TOP

Related Classes of org.apache.wsif.compiler.util.TypeMapping

Copyright © 2018 www.massapicom. 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.