Package org.xmlpull.v1.builder.impl
Class XmlCommentImpl
- java.lang.Object
-
- org.xmlpull.v1.builder.impl.XmlCommentImpl
-
- All Implemented Interfaces:
XmlComment
public class XmlCommentImpl extends Object implements XmlComment
Simple implementation.- Author:
- Aleksander Slominski
-
-
Constructor Summary
Constructors Constructor Description XmlCommentImpl(XmlContainer owner, String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()A string representing the content of the comment.XmlContainergetParent()The document or element information item which contains this information item in its [children] property.
-
-
-
Constructor Detail
-
XmlCommentImpl
XmlCommentImpl(XmlContainer owner, String content)
-
-
Method Detail
-
getContent
public String getContent()
Description copied from interface:XmlCommentA string representing the content of the comment.- Specified by:
getContentin interfaceXmlComment
-
getParent
public XmlContainer getParent()
Description copied from interface:XmlCommentThe document or element information item which contains this information item in its [children] property.- Specified by:
getParentin interfaceXmlComment
-
-