Package com.ibm.sbt.services.client.base.datahandlers

Examples of com.ibm.sbt.services.client.base.datahandlers.XmlDataHandler


 
  /**
   * Create a InReplyTo to from the specified node
   */
  protected AssignedTo createAssignedTo(Node node, FieldEntry fieldEntry) {
    return new AssignedTo(getService(), new XmlDataHandler(node, ConnectionsConstants.nameSpaceCtx, (XPathExpression)fieldEntry.getPath()));
  }
View Full Code Here


  /**
   * Create a InReplyTo to from the specified node
   */
  protected InReplyTo createInReplyTo(Node node, FieldEntry fieldEntry) {
    return new InReplyTo(getService(), new XmlDataHandler(node, ConnectionsConstants.nameSpaceCtx, (XPathExpression)fieldEntry.getPath()));
  }
View Full Code Here

   * Method to get the Author object for the File
   * @return Person
   */
  public Person getAuthor() {
    if(null == authorEntry) {
       authorEntry = new Person(getService(), new XmlDataHandler((Node)getDataHandler().getData(),
                nameSpaceCtx, (XPathExpression)AtomXPath.author.getPath()));
    }
    return authorEntry;
  }
View Full Code Here

   * @see Person.java
   * @return Person
   */
  public Person getModifier() {
    if(null == modifierEntry && getDataHandler()!=null) {
      modifierEntry = new Person(getService(), new XmlDataHandler((Node)getDataHandler().getData(),
              nameSpaceCtx, (XPathExpression)AtomXPath.modifier.getPath()));
    }
    return modifierEntry;
  }
View Full Code Here

  }
 
  public Comment(FileService svc, XmlDataHandler dh) {
        super(svc, dh);
        if (dh!=null) {
        authorEntry = new Person(getService(), new XmlDataHandler((Node)this.getDataHandler().getData(),
            nameSpaceCtx, (XPathExpression)AtomXPath.author.getPath()));
        modifierEntry = new Person(getService(), new XmlDataHandler((Node)this.getDataHandler().getData(),
            nameSpaceCtx, (XPathExpression)AtomXPath.modifier.getPath()));
        }
    }
View Full Code Here

   * @param namespaceCtx
   * @param xpathExpression
   */
  public AtomEntry(Node node) {
    XPathExpression xpath = (node instanceof Document) ? (XPathExpression)AtomXPath.singleEntry.getPath() : null;
    dataHandler = new XmlDataHandler(node, nameSpaceCtx, xpath);
  }
View Full Code Here

   * @param data
   * @param namespaceCtx
   * @param xpathExpression
   */
  public AtomFeed(Node node) {
    dataHandler = new XmlDataHandler(node, nameSpaceCtx, (XPathExpression)AtomXPath.feed.getPath());
  }
View Full Code Here

   * @param node
   * @param nameSpaceCtx
   * @param xpath
   */
  public Tag(BaseService service, Node node, NamespaceContext namespaceCtx, XPathExpression xpathExpression) {
    super(service, new XmlDataHandler(node, namespaceCtx, xpathExpression));
  }
View Full Code Here

  /**
   *
   * @return
   */
  public Person getModifier() {
    return new Person(getService(), new XmlDataHandler((Node)this.getDataHandler().getData(),
          nameSpaceCtx, (XPathExpression)AtomXPath.modifier.getPath()));
  }
View Full Code Here

  /**
   *
   * @return
   */
  public Person getContentModifiedBy() {
    return new Person(getService(), new XmlDataHandler((Node)getDataHandler().getData(),
          nameSpaceCtx, (XPathExpression)ForumsXPath.contentModifiedBy.getPath()));
  }
View Full Code Here

TOP

Related Classes of com.ibm.sbt.services.client.base.datahandlers.XmlDataHandler

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.