com.bea.ales.management.common
Class AttributeElementFactory

java.lang.Object
  |
  +--com.bea.ales.management.common.AttributeElementFactory

public class AttributeElementFactory
extends java.lang.Object

This class is the factory to produce new AttributeElement objects.


Method Summary
static AttributeElement createAttributeElement()
          Create an empty AttributeElement object
static AttributeElement createAttributeElement(java.lang.String name, java.lang.Object value)
          Create an AttributeElement object with initiali values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createAttributeElement

public static AttributeElement createAttributeElement()
Create an empty AttributeElement object

Returns:
an empty AttributeElement object

createAttributeElement

public static AttributeElement createAttributeElement(java.lang.String name,
                                                      java.lang.Object value)
                                               throws InvalidTypeException,
                                                      TypeConversionException,
                                                      BadParameterException
Create an AttributeElement object with initiali values.

Parameters:
name - attribute name
value - attribute value
Returns:
new AttributeElement object
Throws:
InvalidTypeException - if the Java type of value is invalid.
TypeConversionException - if the value can not be converted into ALES internal format.
BadParameterException - if parameter is not correct
See Also:
AttributeElement


Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.