Package net.sf.okapi.lib.xliff2.metadata
Class Meta
- java.lang.Object
-
- net.sf.okapi.lib.xliff2.metadata.Meta
-
- All Implemented Interfaces:
IMetadataItem
public class Meta extends Object implements IMetadataItem
Represents a meta element.
-
-
Constructor Detail
-
Meta
public Meta(String type)
Creates aMetaobject with a given type.- Parameters:
type- the type of the object (cannot be null).
-
Meta
public Meta(String type, String data)
Creates aMetaobject with a given type and data.- Parameters:
type- the type of the object (cannot be null).data- the data of the object (can be null).
-
Meta
public Meta(Meta original)
Copy constructor.- Parameters:
original- the original object to duplicate.
-
-
Method Detail
-
isGroup
public boolean isGroup()
Description copied from interface:IMetadataItemIndicates if this item is a meta-group or not.- Specified by:
isGroupin interfaceIMetadataItem- Returns:
- true if this is a meta-group object, false if it is a meta object.
-
getType
public String getType()
-
setType
public void setType(String type)
-
getData
public String getData()
-
setData
public void setData(String data)
-
-