org.openbp.common.rc.primitive
Class TCharacter

java.lang.Object
  extended by org.openbp.common.rc.ResourceItem
      extended by org.openbp.common.rc.primitive.TCharacter

public class TCharacter
extends ResourceItem

Resource item for primitive/char.

Author:
Jens Ferchland

Field Summary
 
Fields inherited from class org.openbp.common.rc.ResourceItem
ATTRIBUTE_PROPERTY_NAME, ATTRIBUTE_PROPERTY_TYPE, GROUP_DELIMITER, name, resourceCollection, resourceObject
 
Constructor Summary
TCharacter()
           
 
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

TCharacter

public TCharacter()
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.