Package org.bndly.common.html
Class Entity
- java.lang.Object
-
- org.bndly.common.html.Entity
-
- All Implemented Interfaces:
Content
public final class Entity extends Object implements Content
All HTML entities&name;will be parsed as instances of this class. The length of an entity is considered to be 1 when using the HTML shortener.- Author:
- cybercon <bndly@cybercon.de>
- See Also:
HTMLShortener
-
-
Constructor Summary
Constructors Constructor Description Entity(ContentContainer parent)Entity(ContentContainer parent, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()ContentContainergetParent()voidsetName(String name)
-
-
-
Constructor Detail
-
Entity
public Entity(ContentContainer parent)
-
Entity
public Entity(ContentContainer parent, String name)
-
-
Method Detail
-
getParent
public final ContentContainer getParent()
-
getName
public final String getName()
-
setName
public final void setName(String name)
-
-