Examples of derivedFrom()


Examples of com.sun.tools.corba.se.idl.InterfaceEntry.derivedFrom()

          }
        }
      }
      // Interface or valuetype -- Examine interface and valuetype parents,
      // Look through derivedFrom vector
      Enumeration e = i.derivedFrom ().elements ();
      while (e.hasMoreElements ())
      {
        SymtabEntry parent = (SymtabEntry)e.nextElement ();
        if (importTypes.contains (parent))
        {
View Full Code Here

Examples of com.sun.tools.corba.se.idl.InterfaceEntry.derivedFrom()

    if (ie.isAbstract ()) {
        writeRemoteNarrowForAbstract (false);
        return;
    } else {
        // Determine if the non-abstract interface has any abstract parents
        for (int i = 0; i < ie.derivedFrom ().size (); i++) {
            SymtabEntry parent = (SymtabEntry) ie.derivedFrom ().elementAt (i);
            if (((InterfaceEntry) parent).isAbstract ()) {
                writeRemoteNarrowForAbstract (true);
                break;
            }
View Full Code Here

Examples of com.sun.tools.corba.se.idl.InterfaceEntry.derivedFrom()

        writeRemoteNarrowForAbstract (false);
        return;
    } else {
        // Determine if the non-abstract interface has any abstract parents
        for (int i = 0; i < ie.derivedFrom ().size (); i++) {
            SymtabEntry parent = (SymtabEntry) ie.derivedFrom ().elementAt (i);
            if (((InterfaceEntry) parent).isAbstract ()) {
                writeRemoteNarrowForAbstract (true);
                break;
            }
        }
View Full Code Here

Examples of com.sun.tools.corba.se.idl.InterfaceEntry.derivedFrom()

    if (ie.isAbstract ()) {
        writeRemoteUncheckedNarrowForAbstract (false);
        return;
    } else {
        // Determine if the non-abstract interface has any abstract parents
        for (int i = 0; i < ie.derivedFrom ().size (); i++) {
            SymtabEntry parent = (SymtabEntry) ie.derivedFrom ().elementAt (i);
            if (((InterfaceEntry) parent).isAbstract ()) {
                writeRemoteUncheckedNarrowForAbstract (true);
                break;
            }
View Full Code Here

Examples of com.sun.tools.corba.se.idl.InterfaceEntry.derivedFrom()

        writeRemoteUncheckedNarrowForAbstract (false);
        return;
    } else {
        // Determine if the non-abstract interface has any abstract parents
        for (int i = 0; i < ie.derivedFrom ().size (); i++) {
            SymtabEntry parent = (SymtabEntry) ie.derivedFrom ().elementAt (i);
            if (((InterfaceEntry) parent).isAbstract ()) {
                writeRemoteUncheckedNarrowForAbstract (true);
                break;
            }
        }
View Full Code Here

Examples of org.apache.xerces.xs.XSTypeDefinition.derivedFrom()

      XSModel xsModel = (XSModel) i.next();
      // Retrieving the derived type definition
      XSTypeDefinition xsType = xsModel.getTypeDefinition(
        extType.getLocalPart(), extType.getNamespaceURI());
      // If it is found and derived from the base type, return true
      if (xsType != null && xsType.derivedFrom(type.getNamespaceURI(),
        type.getLocalPart(), XSConstants.DERIVATION_NONE))
      {
        return true;
      }
    }
View Full Code Here

Examples of org.apache.xerces.xs.XSTypeDefinition.derivedFrom()

            }
           
            // invoke the method recursively (traverse up the type hierarchy)
            XSTypeDefinition ancestorType = baseSchemaType.getBaseType();
            if (ancestorType != null && !(ancestorType.getName().equals(
                "anyType") || ancestorType.derivedFrom(Constants.NS_XMLSCHEMA,
                "anyAtomicType", XSConstants.DERIVATION_RESTRICTION))) {             
               addAssertsFromBaseTypes(ancestorType);
            }
        }
       
View Full Code Here

Examples of org.apache.xerces.xs.XSTypeDefinition.derivedFrom()

           
            // invoke the method recursively. go up the type hierarchy.
            XSTypeDefinition ancestorType = baseValidator.getBaseType();
            if (ancestorType != null &&
                           !(ancestorType.getName().equals("anyType") ||
                                ancestorType.derivedFrom(Constants.NS_XMLSCHEMA,
                                "anyAtomicType", XSConstants.DERIVATION_RESTRICTION))) {             
               addAssertsFromBaseTypes(ancestorType);
            }
        }
    } // end of method, getAssertsFromBaseTypes
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.