Package com.helger.html.entity
Class HTMLEntity
- java.lang.Object
-
- com.helger.html.entity.HTMLEntity
-
- All Implemented Interfaces:
IHTMLEntity,Serializable
@Immutable public class HTMLEntity extends Object implements IHTMLEntity
Contains an arbitrary entities.- Author:
- Philip Helger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HTMLEntity(String sName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetEntityName()StringgetEntityReference()inthashCode()StringtoString()
-
-
-
Method Detail
-
getEntityName
@Nonnull @Nonempty public String getEntityName()
- Specified by:
getEntityNamein interfaceIHTMLEntity- Returns:
- The name of the entity. E.g.
nbsp
-
getEntityReference
@Nonnull @Nonempty public String getEntityReference()
- Specified by:
getEntityReferencein interfaceIHTMLEntity- Returns:
- The reference to the entity. E.g.
-
-