Package org.exist.xquery.value

Examples of org.exist.xquery.value.IntegerValue


      throw( new XPathException(this, "Failed to get mail list", me ) );
    }
   
    // save the message list and return the handle of the message list
     
    return( new IntegerValue( MailModule.storeMessageList( context, msgList, folderHandle ) ) );
  }
View Full Code Here


      throw( new XPathException(this, "Failed to get mail list", me ) );
    }
   
    // save the message list and return the handle of the message list
     
    return( new IntegerValue( MailModule.storeMessageList( context, msgList, folderHandle ) ) );
  }
View Full Code Here

          ms = value.getTimeInMillis();
    } else {
          ms = System.currentTimeMillis();
    }
   
    return new IntegerValue( ms );
  }
View Full Code Here

       
    Chat chat = connection.getChatManager().createChat(jid, listener);
   
    // store the chat and return the handle of the chat
     
    IntegerValue integerValue = new IntegerValue( XMPPModule.storeChat( chat, chatHandle ) );
    return integerValue;
  }
View Full Code Here

    {
      dayOfInterestCount++;
      cal.add(Calendar.DATE, 7);
    }
   
    return new IntegerValue(dayOfInterestCount);
  }
View Full Code Here

              xr.setProperty(Namespaces.SAX_LEXICAL_HANDLER, adapter);
              xr.parse(src);

            Sequence listenerParams[] = new Sequence[3];
           
            listenerParams[0] = new IntegerValue(chatHandle);
              listenerParams[1] = (DocumentImpl) adapter.getDocument();        
              listenerParams[2] = listenerParam;
             
        chatListenerFunction.evalFunction(contextSequence, null, listenerParams);
View Full Code Here

            ISVNAuthenticationManager authManager =
                    SVNWCUtil.createDefaultAuthenticationManager(args[1].getStringValue(), args[2].getStringValue());
            repo.setAuthenticationManager(authManager);

            long latestRevision = repo.getLatestRevision();
        return new IntegerValue(latestRevision);
        } catch (SVNException e) {
            throw new XPathException(this, e.getMessage(), e);
        }
    }
View Full Code Here

        update = wc.update(new Resource(uri), SVNRevision.HEAD, true);
      } catch (SVNException e) {
            throw new XPathException(this, e.getMessage(), e);
    }
   
      return new IntegerValue(update);
    }
View Full Code Here

          "error while commiting a working copy to the repository '"
                    + wcDir + "'", svne);
    }

    if (info == null)
      return new IntegerValue(-1);
   
    return new IntegerValue(info.getNewRevision());
    }
View Full Code Here

      if( contextItem != null ) {
        context.getProfiler().message( this, Profiler.START_SEQUENCES, "CONTEXT ITEM", contextItem.toSequence() );
      }
    }
   
    return( new IntegerValue( context.hashCode() ) );
    }
View Full Code Here

TOP

Related Classes of org.exist.xquery.value.IntegerValue

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.