Package com.rometools.modules.base
Class CustomTagImpl
- java.lang.Object
-
- com.rometools.modules.base.CustomTagImpl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCustomTagImpl.Location
-
Constructor Summary
Constructors Constructor Description CustomTagImpl(String name, CustomTagImpl.Location value)CustomTagImpl(String name, DateTimeRange value)CustomTagImpl(String name, FloatUnit value)CustomTagImpl(String name, IntUnit value)CustomTagImpl(String name, ShortDate value)CustomTagImpl(String name, Boolean value)CustomTagImpl(String name, Float value)CustomTagImpl(String name, Integer value)CustomTagImpl(String name, String value)CustomTagImpl(String name, URL value)CustomTagImpl(String name, Date value)
-
-
-
Constructor Detail
-
CustomTagImpl
public CustomTagImpl(String name, DateTimeRange value)
-
CustomTagImpl
public CustomTagImpl(String name, CustomTagImpl.Location value)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:CustomTagReturns the tag name used.
-
getValue
public Object getValue()
Description copied from interface:CustomTagThe value of the custom tag.
Type (JavaType) Description Examples string (String) Any string Blue int (Integer) Whole number values 1000 float (Float) Numbers with decimal digits 3.5 intUnit (IntUnit) Whole number value and a string 10 km floatUnit (FloatUnit) Numbers with decimal digits and a string 1.5 km date (ShortDate) Date of an event, in format YYYY-MM-DD 2005-12-12 dateTime (java.util.Date) Date and time for an event, in format YYYY-MM-DDThh:mm:ss 2005-12-12T12:00:00 dateTimeRange (DateTimeRange) Start and end dates for an event. An attribute of this type will contain two sub-attributes, <start> and <end> in format YYYY-MM-DD <start>1975-09-25</start>
<end>1975-09-25</end>url (java.net.URL) HTTP URL http://www.google.com boolean (Boolean) Value may be either true or false. true location (CustomTagImpl.Location) Location 921 W. Dana Street, Mtn View, CA-94103
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-