org.openbp.common.rc.text
Class TPlain

java.lang.Object
  extended by org.openbp.common.rc.ResourceItem
      extended by org.openbp.common.rc.text.TPlain

public class TPlain
extends ResourceItem

Resource item for text/plain.

Author:
Andreas Putz

Field Summary
 
Fields inherited from class org.openbp.common.rc.ResourceItem
ATTRIBUTE_PROPERTY_NAME, ATTRIBUTE_PROPERTY_TYPE, GROUP_DELIMITER, name, resourceCollection, resourceObject
 
Constructor Summary
TPlain()
           
 
Method Summary
 java.lang.String getMimeType()
          Gets the mime-type of the resource item.
 void initializeFromDOM(ResourceCollection res, org.w3c.dom.Element source, java.lang.String group)
          Determines the information from the DOM element and set this to the resource item.
 
Methods inherited from class org.openbp.common.rc.ResourceItem
getErrorName, getName, getObject, getResourceCollection, loadResourceObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TPlain

public TPlain()
Method Detail

getMimeType

public java.lang.String getMimeType()
Gets the mime-type of the resource item.

Returns:
A string in mime-type format

initializeFromDOM

public void initializeFromDOM(ResourceCollection res,
                              org.w3c.dom.Element source,
                              java.lang.String group)
Determines the information from the DOM element and set this to the resource item.

Overrides:
initializeFromDOM in class ResourceItem
Parameters:
res - Resource the item belongs to
source - Resource item node
group - Name of the resource item group or null


Copyright © 2011. All Rights Reserved.