Package com.helger.html.hc.impl
Class HCCDATANode
- java.lang.Object
-
- com.helger.html.hc.impl.AbstractHCNode
-
- com.helger.html.hc.impl.HCCDATANode
-
- All Implemented Interfaces:
com.helger.commons.hierarchy.IHasChildren<IHCNode>,com.helger.commons.hierarchy.IHasChildrenRecursive<IHCNode>,com.helger.commons.hierarchy.IHasChildrenSorted<IHCNode>,IHCNode,Serializable
public class HCCDATANode extends AbstractHCNode
Represents a single CDATA node as HC node.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HCCDATANode(String sText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPlainText()StringgetText()protected com.helger.xml.microdom.IMicroCDATAinternalConvertToMicroNode(IHCConversionSettingsToNode aConversionSettings)StringtoString()-
Methods inherited from class com.helger.html.hc.impl.AbstractHCNode
canConvertToMicroNode, consistencyCheck, convertToMicroNode, customizeNode, finalizeNodeState, findFirstChild, findFirstChildMapped, forAllChildren, forAllChildren, forAllChildrenBreakable, forAllChildrenMapped, getAllChildren, getChildAtIndex, getChildCount, getChildren, getFirstChild, getLastChild, getNodeState, hasChildren, internalSetNodeState, onConsistencyCheck, onCustomizeNode, onFinalizeNodeState, onRegisterExternalResources, registerExternalResources
-
-
-
-
Method Detail
-
internalConvertToMicroNode
@Nonnull protected com.helger.xml.microdom.IMicroCDATA internalConvertToMicroNode(@Nonnull IHCConversionSettingsToNode aConversionSettings)
- Specified by:
internalConvertToMicroNodein classAbstractHCNode
-
getPlainText
@Nonnull public String getPlainText()
- Specified by:
getPlainTextin interfaceIHCNode- Overrides:
getPlainTextin classAbstractHCNode- Returns:
- The plain text representation of this text. May not be
null.
-
toString
public String toString()
- Overrides:
toStringin classAbstractHCNode
-
-