Liquid XML Data Binder (C++, Java, VB6) / Reference / Java / Reference / com.liquid_technologies.ltxmllib20 / AttributeCol / Java Add - AttributeCol
In This Topic
    Java Add - AttributeCol
    In This Topic
    public Attribute add(String attributeName, String attributeValue, String attributeNamespace)
        throws LtInvalidNamespaceException;
    public Attribute add(String attributeName, String attributeValue)
        throws LtInvalidNamespaceException;
    public Attribute add(String attributeName)
        throws LtInvalidNamespaceException
    public Attribute add(Attribute attrib)
      Property Description  
        Property Name add  
        Argument - attributeName The name of the new attribute to be created  
        Argument - attributeValue The value of the attribute  
        Argument - attributeNamespace The namespace the attribute will be a part of (if this is not defined then the namespace is taken from the parent element)  
        Argument - attrib An existing attribute to copy into this elements collection.  
        Returns The newly created attribute.  
        Description Adds an attribute to the collection  
        Remarks May throw an exception if the namespace is invalid or the attribute already exists in the collection