Examples of ItemType


Examples of org.platformlayer.ids.ItemType

    OpsContext ops = OpsContext.get();
    ServiceProviderDictionary serviceProviderDictionary = ops.getInjector().getInstance(
        ServiceProviderDictionary.class);

    ServiceType serviceType = platformLayerKey.getServiceType();
    ItemType itemType = platformLayerKey.getItemType();

    ServiceProvider serviceProvider = serviceProviderDictionary.getServiceProvider(serviceType);
    if (serviceProvider == null) {
      throw new IllegalArgumentException();
    }

Examples of org.platformlayer.ids.ItemType

    return OpenSshUtils.serialize(publicKey, description);
  }

  @Path("{itemType}")
  public XaasResourceBase getManagedCollectionResource(@PathParam("itemType") String itemType) {
    getScope().put(new ItemType(itemType));

    XaasResourceBase resources = objectInjector.getInstance(ManagedItemCollectionResource.class);
    return resources;
  }

Examples of org.platformlayer.ids.ItemType

  private void checkItemKey(ItemBase item) throws OpsException {
    PlatformLayerKey key = item.getKey();

    ManagedItemId itemId = getItemId();
    ServiceType serviceType = getServiceType();
    ItemType itemType = getItemType();
    ProjectId project = getProject();

    if (key != null) {
      if (key.getItemId() != null && !equal(key.getItemId(), itemId)) {
        throw new OpsException("Item id mismatch");

Examples of org.waveprotocol.wave.model.document.parser.ItemType

    parser.next();

    while (true) {

      ItemType type = parser.getCurrentType();

      if (type == ItemType.END_ELEMENT) {
        break;
      }

Examples of xbird.xquery.type.ItemType

                throw new IllegalStateException("Unexpected occurrence: " + occ);
        }
    }

    public XQItemType getItemType() {
        final ItemType primeType = type_.prime();
        return new BXQItemType(primeType);
    }

Examples of xbird.xquery.type.ItemType

    public boolean acceptNodeType(NodeType expected) {
        if(!(expected instanceof DocumentTest)) {
            return false;
        }
        if(nodeType != null) {
            ItemType targetNodeType = ((DocumentTest) expected).getNodeType();
            if(!nodeType.accepts(targetNodeType)) {
                return false;
            }
        }
        return true;

Examples of xbird.xquery.type.ItemType

        return null;
    }

    @Override
    public int getXQJBaseType() throws XQException {
        final ItemType basetype = nodeType;
        if(basetype == null) {
            throw new XQException("Illegal item kind: " + toString(), "err:XQJxxxx");
        }
        return basetype.getXQJBaseType();
    }

Examples of xbird.xquery.type.ItemType

    AtomicType | KindTest | <"item" "(" ")">
    [114] AtomicType   ::= QName
    ************************************************************************/
    final public Type parseSequenceType() throws ParseException, XQueryException {
        boolean isAtomic = false;
        final ItemType itemType;
        Occurrence occurrenceIndicator = Occurrence.OCC_EXACTLY_ONE;
        switch(jj_nt.kind) {
            case EmptySequence:
                currentToken = jj_consume_token(EmptySequence);
                {

Examples of xbird.xquery.type.ItemType

    /************************************************************************
    [123] DocumentTest ::= "document-node" "(" (ElementTest | SchemaElementTest)? ")"
    ************************************************************************/
    final public DocumentTest parseDocumentTest() throws ParseException, XQueryException {
        ItemType itemType = null;
        switch(jj_nt.kind) {
            case DocumentLpar:
                currentToken = jj_consume_token(DocumentLpar);
                break;
            case DocumentLparForKindTest:
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.