public class UUIDAttribute extends Attribute
| Constructor and Description |
|---|
UUIDAttribute(org.w3c.dom.Document owner)
Creates a new
UUIDAttribute instance. |
UUIDAttribute(org.w3c.dom.Element element)
Creates a new
UUIDAttribute instance from the given Element node. |
UUIDAttribute(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
UUIDAttribute instance from the given Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeValue(int intValue)
Adds a new
AttributeValue element to this Attribute. |
void |
addAttributeValue(java.lang.String[] attributeValues)
Deprecated.
Use
Attribute.addAttributeValues(String[]) instead. |
void |
addAttributeValueUUID(java.lang.String uriValue)
Adds a new
AttributeValue element to this Attribute. |
java.lang.String |
getAttributeProfileID()
Returns the Profile Identification URI.
|
int[] |
getAttributeValueIntegers()
Returns the contents of this
Attribute's AttributeValues that have xsi:type="xs:integer". |
java.lang.String[] |
getAttributeValueUUIDs()
Returns the contents of this
Attribute's AttributeValues that have xsi:type="xs:anyURI". |
addAttributeValue, addAttributeValue, addAttributeValue, addAttributeValues, getAttributeValues, getAttributeValuesAsStrings, getAttributeValuesAsStrings, getAttributeValueStrings, getFriendlyName, getName, getNameFormat, getXsiType, setFriendlyName, setName, setNameFormat, setXsiTypeaddNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public UUIDAttribute(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
UUIDAttribute instance from the given Element node.element - A UUIDAttribute element.org.w3c.dom.DOMException
public UUIDAttribute(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
UUIDAttribute instance from the given Element node.element - A UUIDAttribute element.systemId - The URI string system ID for the UUIDAttribute.org.w3c.dom.DOMException
public UUIDAttribute(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
UUIDAttribute instance.owner - The owner document of the new UUIDAttribute.org.w3c.dom.DOMExceptionpublic void addAttributeValueUUID(java.lang.String uriValue)
AttributeValue element to this Attribute. The new element will have the attribute xsi:type="xs:anyURI" and, if the given value is null, it will also have the attribute xsi:nil="true".uriValue - The URI content of the new AttributeValue element.public void addAttributeValue(int intValue)
AttributeValue element to this Attribute. The new element will have the attribute xsi:type="xs:integer".intValue - The integer content of the new AttributeValue element.public void addAttributeValue(java.lang.String[] attributeValues)
Attribute.addAttributeValues(String[]) instead.attributeValues - The array of attribute Value Strings.public java.lang.String[] getAttributeValueUUIDs()
Attribute's AttributeValues that have xsi:type="xs:anyURI".Strings, or null if no AttributeValues of xsi:type="xs:anyURI" are present.public int[] getAttributeValueIntegers()
Attribute's AttributeValues that have xsi:type="xs:integer".ints, or null if no AttributeValues of xsi:type="xs:integer" are present.public java.lang.String getAttributeProfileID()
getAttributeProfileID in class Attribute