Examples of base()


Examples of com.sun.xml.internal.bind.v2.schemagen.xmlschema.SimpleExtension.base()

                            handleAttributeProp((AttributePropertyInfo<T,C>)p,se);
                            break;
                        case VALUE:
                            TODO.checkSpec("what if vp.isCollection() == true?");
                            ValuePropertyInfo vp = (ValuePropertyInfo) p;
                            se.base(vp.getTarget().getTypeName());
                            break;
                        case ELEMENT:   // error
                        case REFERENCE: // error
                        default:
                            assert false;
View Full Code Here

Examples of com.sun.xml.internal.bind.v2.schemagen.xmlschema.SimpleExtension.base()

                if(bc.hasValueProperty()) {
                    // extending complex type with simple content
                    SimpleExtension se = ct.simpleContent().extension();
                    contentModel = se;
                    contentModelOwner = null;
                    se.base(bc.getTypeName());
                } else {
                    ComplexExtension ce = ct.complexContent().extension();
                    contentModel = ce;
                    contentModelOwner = ce;
View Full Code Here

Examples of org.apache.jackrabbit.vault.vlt.meta.VltEntry.base()

            RepositoryAddress root = dir.getContext().getMountpoint();
            RepositoryAddress addr = root.resolve(e.getAggregatePath());
            addr = addr.resolve(e.getRepoRelPath());
            out.printf("   URL: %s%n", addr.toString());
            print(out, "  Work", e.work());
            print(out, "  Base", e.base());
            print(out, "  Mine", e.mine());
            print(out, "Theirs", e.theirs());
        }
        out.println();
    }
View Full Code Here

Examples of org.apache.jackrabbit.vault.vlt.meta.VltEntry.base()

    public VltEntry update(String localName, String aggregatePath, String repoRelPath) {
        XmlEntry e = new XmlEntry(localName, aggregatePath, repoRelPath);
        VltEntry old = entries.remove(localName);
        if (old != null) {
            e.put(old.work());
            e.put(old.base());
            e.put(old.mine());
            e.put(old.theirs());
        }
        putEntry(e);
        return e;
View Full Code Here

Examples of org.codehaus.enunciate.qname.XmlQNameEnum.base()

    if (!"##default".equals(xmlQNameEnum.namespace())) {
      namespace = xmlQNameEnum.namespace();
    }
    this.namespace = namespace;

    this.baseType = xmlQNameEnum.base();
  }

  @Override
  protected Map<String, Object> loadEnumValues() {
    String namespace = getPackage().getNamespace();
View Full Code Here

Examples of org.codehaus.enunciate.qname.XmlQNameEnum.base()

    XmlQNameEnum enumInfo = clazz.getAnnotation(XmlQNameEnum.class);
    if (enumInfo == null) {
      throw new IllegalArgumentException(String.format("Class %s isn't a QName enum.", clazz.getName()));
    }
    else if (enumInfo.base() != XmlQNameEnum.BaseType.QNAME) {
      throw new IllegalArgumentException("Class " + clazz.getName() + " is supposed to be converted from a URI (not QName).");
    }

    String namespace = enumInfo.namespace();
    if ("##default".equals(namespace)) {
View Full Code Here

Examples of org.codehaus.enunciate.qname.XmlQNameEnum.base()

    Class<?> clazz = e.getDeclaringClass();
    XmlQNameEnum enumInfo = clazz.getAnnotation(XmlQNameEnum.class);
    if (enumInfo == null) {
      throw new IllegalArgumentException("Class " + clazz.getName() + " isn't a QName enum.");
    }
    else if (enumInfo.base() != XmlQNameEnum.BaseType.QNAME) {
      throw new IllegalArgumentException("Class " + clazz.getName() + " is supposed to be converted to a URI (not QName).");
    }

    String namespace = enumInfo.namespace();
    if ("##default".equals(namespace)) {
View Full Code Here

Examples of org.codehaus.enunciate.qname.XmlQNameEnum.base()

    XmlQNameEnum enumInfo = clazz.getAnnotation(XmlQNameEnum.class);
    if (enumInfo == null) {
      throw new IllegalArgumentException(String.format("Class %s isn't a QName enum.", clazz.getName()));
    }
    else if (enumInfo.base() != XmlQNameEnum.BaseType.URI) {
      throw new IllegalArgumentException("Class " + clazz.getName() + " is supposed to be converted to a QName (not URI).");
    }

    String namespace = enumInfo.namespace();
    if ("##default".equals(namespace)) {
View Full Code Here

Examples of org.eclipse.sapphire.modeling.annotations.Type.base()

                    throw new IllegalStateException( message );
                }
            }
            else
            {
                this.typeClass = typeAnnotation.base();
            }
        }
        catch( RuntimeException e )
        {
            Sapphire.service( LoggingService.class ).log( e );
View Full Code Here

Examples of org.jboss.test.aop.inheritanceacrosspackages.base.Base.base()

      assertTrue(TestInterceptor.intercepted);
      TestInterceptor.intercepted = false;
      base.field = base.field -1;
      assertTrue(TestInterceptor.intercepted);
      TestInterceptor.intercepted = false;
      base.base();
      assertTrue(TestInterceptor.intercepted);
   }

   public void testChildClass() throws Exception
   {
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.