org.apache.abdera.parser.stax
Class FOMComment

java.lang.Object
  extended by org.apache.axiom.om.impl.llom.OMNodeImpl
      extended by org.apache.axiom.om.impl.llom.OMCommentImpl
          extended by org.apache.abdera.parser.stax.FOMComment
All Implemented Interfaces:
Comment, org.apache.axiom.om.impl.OMNodeEx, org.apache.axiom.om.OMComment, org.apache.axiom.om.OMNode

public class FOMComment
extends org.apache.axiom.om.impl.llom.OMCommentImpl
implements Comment


Field Summary
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMCommentImpl
value
 
Fields inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
builder, done, factory, nextSibling, nodeType, parent, previousSibling
 
Fields inherited from interface org.apache.axiom.om.OMNode
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE
 
Constructor Summary
FOMComment(org.apache.axiom.om.OMContainer arg0, org.apache.axiom.om.OMFactory arg1)
           
FOMComment(org.apache.axiom.om.OMContainer arg0, String arg1, org.apache.axiom.om.OMFactory arg2)
           
 
Method Summary
 Factory getFactory()
          The Abdera Factory
<T extends Base>
T
getParentElement()
          The parent node
 String getText()
          The text of this comment node
protected  Element getWrapped(Element internal)
           
 Comment setText(String text)
          The text of this comment node
 String toString()
           
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMCommentImpl
discard, getValue, internalSerialize, internalSerializeAndConsume, setValue
 
Methods inherited from class org.apache.axiom.om.impl.llom.OMNodeImpl
build, buildWithAttachments, close, detach, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, importNode, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setComplete, setNextOMSibling, setParent, setPreviousOMSibling, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.abdera.model.Comment
discard
 
Methods inherited from interface org.apache.axiom.om.OMNode
build, buildWithAttachments, close, detach, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume
 

Constructor Detail

FOMComment

public FOMComment(org.apache.axiom.om.OMContainer arg0,
                  org.apache.axiom.om.OMFactory arg1)

FOMComment

public FOMComment(org.apache.axiom.om.OMContainer arg0,
                  String arg1,
                  org.apache.axiom.om.OMFactory arg2)
Method Detail

getText

public String getText()
Description copied from interface: Comment
The text of this comment node

Specified by:
getText in interface Comment

setText

public Comment setText(String text)
Description copied from interface: Comment
The text of this comment node

Specified by:
setText in interface Comment

getParentElement

public <T extends Base> T getParentElement()
Description copied from interface: Comment
The parent node

Specified by:
getParentElement in interface Comment

getWrapped

protected Element getWrapped(Element internal)

getFactory

public Factory getFactory()
Description copied from interface: Comment
The Abdera Factory

Specified by:
getFactory in interface Comment

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.