Return-Path: Delivered-To: apmail-incubator-abdera-commits-archive@locus.apache.org Received: (qmail 56808 invoked from network); 26 Jul 2007 07:00:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2007 07:00:46 -0000 Received: (qmail 64093 invoked by uid 500); 26 Jul 2007 07:00:46 -0000 Delivered-To: apmail-incubator-abdera-commits-archive@incubator.apache.org Received: (qmail 64078 invoked by uid 500); 26 Jul 2007 07:00:45 -0000 Mailing-List: contact abdera-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-commits@incubator.apache.org Received: (qmail 64062 invoked by uid 99); 26 Jul 2007 07:00:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 00:00:45 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 00:00:44 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id A5A4F1A981A; Thu, 26 Jul 2007 00:00:23 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r559721 - in /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model: Attribute.java Comment.java ProcessingInstruction.java TextValue.java Date: Thu, 26 Jul 2007 07:00:23 -0000 To: abdera-commits@incubator.apache.org From: jmsnell@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070726070023.A5A4F1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jmsnell Date: Thu Jul 26 00:00:22 2007 New Revision: 559721 URL: http://svn.apache.org/viewvc?view=rev&rev=559721 Log: Javadocs Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Attribute.java incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Comment.java incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ProcessingInstruction.java incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/TextValue.java Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Attribute.java URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Attribute.java?view=diff&rev=559721&r1=559720&r2=559721 ============================================================================== --- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Attribute.java (original) +++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Attribute.java Thu Jul 26 00:00:22 2007 @@ -21,14 +21,30 @@ import org.apache.abdera.factory.Factory; +/** + * An attribute. Returned by the Abdera XPath implementation + * when querying for Attribute nodes + */ public interface Attribute { + /** + * The QName of the attribute + */ QName getQName(); + /** + * The text value of the attribute + */ String getText(); + /** + * The text value of the attribute + */ void setText(String text); + /** + * The Abdera Factory + */ Factory getFactory(); } Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Comment.java URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Comment.java?view=diff&rev=559721&r1=559720&r2=559721 ============================================================================== --- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Comment.java (original) +++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/Comment.java Thu Jul 26 00:00:22 2007 @@ -19,15 +19,34 @@ import org.apache.abdera.factory.Factory; +/** + * A comment. Returned by the Abdera XPath implementation when querying for + * comment nodes (e.g. xpath.selectNodes("//comment()"); ...) + */ public interface Comment { + /** + * Delete the comment node + */ void discard(); + /** + * The text of this comment node + */ String getText(); + /** + * The text of this comment node + */ void setText(String text); + /** + * The Abdera Factory + */ Factory getFactory(); + /** + * The parent node + */ T getParentElement(); } Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ProcessingInstruction.java URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ProcessingInstruction.java?view=diff&rev=559721&r1=559720&r2=559721 ============================================================================== --- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ProcessingInstruction.java (original) +++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ProcessingInstruction.java Thu Jul 26 00:00:22 2007 @@ -19,20 +19,45 @@ import org.apache.abdera.factory.Factory; +/** + * A processing instruction. Returned by the Abdera XPath implementation when querying for + * PI nodes (e.g. xpath.selectNodes("//processing-instruction()"); ...) + */ public interface ProcessingInstruction { + /** + * Delete this PI + */ void discard(); + /** + * The Abdera Factory + */ Factory getFactory(); + /** + * The parent node + */ T getParentElement(); + /** + * The PI target + */ String getTarget(); + /** + * The PI target + */ void setTarget(String target); + /** + * The PI text + */ String getText(); + /** + * The PI text + */ void setText(String text); } Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/TextValue.java URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/TextValue.java?view=diff&rev=559721&r1=559720&r2=559721 ============================================================================== --- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/TextValue.java (original) +++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/TextValue.java Thu Jul 26 00:00:22 2007 @@ -21,16 +21,35 @@ import javax.activation.DataHandler; +/** + * A text value. Returned by the Abdera XPath implementation when querying for + * text nodes (e.g. xpath.selectNodes("//text()"); ...) + */ public interface TextValue { + /** + * A DataHandler for Base64 encoded binary data + */ DataHandler getDataHandler(); + /** + * An InputStream used to read the text content + */ InputStream getInputStream(); + /** + * Return the text value + */ String getText(); + /** + * The parent element + */ T getParentElement(); + /** + * Delete this node + */ void discard(); }