org.ws4d.java.types
Class CustomizeMData
java.lang.Object
org.ws4d.java.types.UnknownDataContainer
org.ws4d.java.types.CustomizeMData
public final class CustomizeMData
- extends UnknownDataContainer
This class defines a type for user added metadata
CustomizeMData inherit UnknownDataContainer
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CUSTOM
public static final QName CUSTOM
CustomizeMData
public CustomizeMData()
- The standard consturctor
getInstance
public static CustomizeMData getInstance()
- It returns a static instance of CustomizeMData
- Returns:
addNewElement
public void addNewElement(QName name,
java.lang.Object value)
- Add a new element of the user metadata
- Parameters:
name
- Name of the tag elementvalue
- Content of the element
addNewAttribute
public void addNewAttribute(QName name,
java.lang.String value)
- Add a new attribute
- Parameters:
name
- Name of the attributevalue
- Content of the attribute