public class SaxAttributesImpl extends SaxEntityImpl implements SaxAttributes
Modifier and Type | Field and Description |
---|---|
private org.xml.sax.helpers.AttributesImpl |
attributes
List of XML attributes.
|
isValid
name, nextSibling, prevSibling
instProc
Constructor and Description |
---|
SaxAttributesImpl()
Default constructor.
|
SaxAttributesImpl(org.xml.sax.Attributes attrs)
Special constructor accepting a Attributes object.
|
Modifier and Type | Method and Description |
---|---|
logical |
copySaxAttributes(handle attrHandle)
Copies SAX attributes form source provided to the current SAX-Attributes object.
|
(package private) org.xml.sax.Attributes |
getAttributes()
Getter for attributes.
|
integer |
getIndexByNamespaceName(java.lang.String uri,
java.lang.String localname)
Gets the 1-based index of the attribute with given namespace name.
|
integer |
getIndexByNamespaceName(java.lang.String uri,
Text localname)
Gets the 1-based index of the attribute with given namespace name.
|
integer |
getIndexByNamespaceName(Text uri,
java.lang.String localname)
Gets the 1-based index of the attribute with given namespace name.
|
integer |
getIndexByNamespaceName(Text uri,
Text localname)
Gets the 1-based index of the attribute with given namespace name.
|
integer |
getIndexByQname(java.lang.String qname)
Gets the 1-based index of the attribute with given XML qualified name.
|
integer |
getIndexByQname(Text qname)
Gets the 1-based index of the attribute with given XML qualified name.
|
character |
getLocalnameByIndex(double index)
Gets the unqualified local name of the current attribute object by the given 1-based index.
|
character |
getLocalnameByIndex(NumberType index)
Gets the unqualified local name of the current attribute object by the given 1-based index.
|
integer |
getNumItems()
Gets the numbers of the entries in the attributes object.
|
character |
getQnameByIndex(double index)
Gets the qualified name of the current attribute object by the given 1-based index.
|
character |
getQnameByIndex(NumberType index)
Gets the qualified local name of the current attribute object by the given 1-based index.
|
character |
getTypeByIndex(double index)
Gets the type of the current attribute object by the given 1-based index.
|
character |
getTypeByIndex(NumberType index)
Gets the type of the current attribute object by the given 1-based index.
|
character |
getTypeByNamespaceName(java.lang.String uri,
java.lang.String localname)
Gets the type of the attribute with given namespace name.
|
character |
getTypeByNamespaceName(java.lang.String uri,
Text localname)
Gets the type of the attribute with given namespace name.
|
character |
getTypeByNamespaceName(Text uri,
java.lang.String localname)
Gets the type of the attribute with given namespace name.
|
character |
getTypeByNamespaceName(Text uri,
Text localname)
Gets the type of the attribute with given namespace name.
|
character |
getTypeByQname(character qname)
Gets the type of the attribute with given XML qualified name.
|
character |
getTypeByQname(java.lang.String qname)
Gets the type of the attribute with given XML qualified name.
|
character |
getUriByIndex(double index)
Gets the namespace URI of the current attribute object by the given 1-based index.
|
character |
getUriByIndex(NumberType index)
Gets the namespace URI of the current attribute object by the given 1-based index.
|
character |
getValueByIndex(double index)
Gets the value of the atribute with given index.
|
character |
getValueByIndex(NumberType index)
Gets the value of the atribute with given index.
|
character |
getValueByNamespaceName(java.lang.String uri,
java.lang.String localname)
Gets the value of the attribute with given namespace name.
|
character |
getValueByNamespaceName(java.lang.String uri,
Text localname)
Gets the value of the attribute with given namespace name.
|
character |
getValueByNamespaceName(Text uri,
java.lang.String localname)
Gets the value of the attribute with given namespace name.
|
character |
getValueByNamespaceName(Text uri,
Text localname)
Gets the value of the attribute with given namespace name.
|
character |
getValueByQname(character qname)
Gets the value of the attribute with given XML qualified name.
|
character |
getValueByQname(java.lang.String qname)
Gets the value of the attribute with given XML qualified name.
|
logical |
insertAttribute(Text name,
Text value,
Text uri)
Adding the single attribute to the start tag in the XML document if applied for SAX writer
object.
|
logical |
removeAttribute(character name,
character uri)
Removes the specified attribute.
|
logical |
removeAttribute(NumberType index,
character uri)
Removes the specified attribute.
|
logical |
updateAttribute(character name,
character value)
Updates the specified attribute.
|
logical |
updateAttribute(character name,
character value,
character uri)
Updates the specified attribute.
|
logical |
updateAttribute(character name,
character value,
java.lang.String uri)
Updates the specified attribute.
|
logical |
updateAttribute(character name,
java.lang.String value)
Updates the specified attribute.
|
logical |
updateAttribute(character name,
java.lang.String value,
character uri)
Updates the specified attribute.
|
logical |
updateAttribute(character name,
java.lang.String value,
java.lang.String uri)
Updates the specified attribute.
|
logical |
updateAttribute(double index,
character value)
Updates the specified attribute.
|
logical |
updateAttribute(double index,
character value,
character uri)
Updates the specified attribute.
|
logical |
updateAttribute(double index,
character value,
java.lang.String uri)
Updates the specified attribute.
|
logical |
updateAttribute(double index,
java.lang.String value)
Updates the specified attribute.
|
logical |
updateAttribute(double index,
java.lang.String value,
character uri)
Updates the specified attribute.
|
logical |
updateAttribute(double index,
java.lang.String value,
java.lang.String uri)
Updates the specified attribute.
|
logical |
updateAttribute(NumberType index,
character value)
Updates the specified attribute.
|
logical |
updateAttribute(NumberType index,
character value,
character uri)
Updates the specified attribute.
|
logical |
updateAttribute(NumberType index,
character value,
java.lang.String uri)
Updates the specified attribute.
|
logical |
updateAttribute(NumberType index,
java.lang.String value)
Updates the specified attribute.
|
logical |
updateAttribute(NumberType index,
java.lang.String value,
character uri)
Updates the specified attribute.
|
logical |
updateAttribute(NumberType index,
java.lang.String value,
java.lang.String uri)
Updates the specified attribute.
|
logical |
updateAttribute(java.lang.String name,
character value)
Updates the specified attribute.
|
logical |
updateAttribute(java.lang.String name,
character value,
character uri)
Updates the specified attribute.
|
logical |
updateAttribute(java.lang.String name,
character value,
java.lang.String uri)
Updates the specified attribute.
|
logical |
updateAttribute(java.lang.String name,
java.lang.String value)
Updates the specified attribute.
|
logical |
updateAttribute(java.lang.String name,
java.lang.String value,
character uri)
Updates the specified attribute.
|
logical |
updateAttribute(java.lang.String name,
java.lang.String value,
java.lang.String uri)
Updates the specified attribute.
|
getADMData, getUniqueID, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, invalidReadWriteModeError, invalidStatusAttributeError, invalidStatusMethodError, setADMData, setADMData, writerOutputError
addSchemaLocation, addSchemaLocation, addSchemaLocation, addSchemaLocation, getNonamespaceSchemaLocation, hasNextSibling, hasPrevSibling, invalidArgumentAssignError, invalidArgumentError, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, resourceDelete, setNonamespaceSchemaLocation, setNonamespaceSchemaLocation, valid
delete, firstResource, firstResource, getHead, getNextSibling, getNextSibling, getPrevSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNameReadOnly, hasParent, hasPrivateData, interlink, isChained, lastResource, lastResource, name, name, name, readOnlyError, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData
getResourceType, id, id, implicitDeletion, instantiatingProcedure, invalidAttribute, setInstantiatingProcedure, type, unknown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute
addSchemaLocation, addSchemaLocation, addSchemaLocation, addSchemaLocation, getNonamespaceSchemaLocation, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, setNonamespaceSchemaLocation, setNonamespaceSchemaLocation
id, id, unknown, valid
getUniqueID
getADMData, setADMData, setADMData
getResourceType
private final org.xml.sax.helpers.AttributesImpl attributes
public SaxAttributesImpl()
SaxAttributesImpl(org.xml.sax.Attributes attrs)
attrs
- List of XML attributes.public logical copySaxAttributes(handle attrHandle)
copySaxAttributes
in interface SaxAttributes
attrHandle
- The handle of the SAX-Attribute object to be used as source.true
in case of success false
otherwise.public integer getIndexByNamespaceName(java.lang.String uri, Text localname)
getIndexByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public integer getIndexByNamespaceName(Text uri, Text localname)
getIndexByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public integer getIndexByNamespaceName(Text uri, java.lang.String localname)
getIndexByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public integer getIndexByNamespaceName(java.lang.String uri, java.lang.String localname)
getIndexByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public integer getIndexByQname(java.lang.String qname)
getIndexByQname
in interface SaxAttributes
qname
- The XML qualified name of the attribute to get the index.public integer getIndexByQname(Text qname)
getIndexByQname
in interface SaxAttributes
qname
- The XML qualified name of the attribute to get the index.public character getLocalnameByIndex(double index)
getLocalnameByIndex
in interface SaxAttributes
index
- The 1-based index of the attribute name to get.public character getLocalnameByIndex(NumberType index)
getLocalnameByIndex
in interface SaxAttributes
index
- The 1-based index of the attribute name to get.public integer getNumItems()
getNumItems
in interface NumItems
public character getQnameByIndex(double index)
getQnameByIndex
in interface SaxAttributes
index
- The 1-based index of the attribute name to get.public character getQnameByIndex(NumberType index)
getQnameByIndex
in interface SaxAttributes
index
- The 1-based index of the attribute name to get.public character getTypeByIndex(double index)
getTypeByIndex
in interface SaxAttributes
index
- The 1-based index of the attribute type to get.public character getTypeByIndex(NumberType index)
getTypeByIndex
in interface SaxAttributes
index
- The 1-based index of the attribute type to get.public character getTypeByNamespaceName(java.lang.String uri, Text localname)
getTypeByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public character getTypeByNamespaceName(Text uri, Text localname)
getTypeByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public character getTypeByNamespaceName(Text uri, java.lang.String localname)
getTypeByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public character getTypeByNamespaceName(java.lang.String uri, java.lang.String localname)
getTypeByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public character getTypeByQname(java.lang.String qname)
getTypeByQname
in interface SaxAttributes
qname
- The XML qualified name of the attribute to get the type.public character getTypeByQname(character qname)
getTypeByQname
in interface SaxAttributes
qname
- The XML qualified name of the attribute to get the type.public character getUriByIndex(double index)
getUriByIndex
in interface SaxAttributes
index
- The 1-based index of the namespace URI to get.public character getUriByIndex(NumberType index)
getUriByIndex
in interface SaxAttributes
index
- The 1-based index of the namespace URI to get.public character getValueByIndex(double index)
getValueByIndex
in interface SaxAttributes
index
- The 1-based index of the attribute to get.public character getValueByIndex(NumberType index)
getValueByIndex
in interface SaxAttributes
index
- The 1-based index of the attribute to get.public character getValueByNamespaceName(java.lang.String uri, Text localname)
getValueByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public character getValueByNamespaceName(Text uri, Text localname)
getValueByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public character getValueByNamespaceName(Text uri, java.lang.String localname)
getValueByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public character getValueByNamespaceName(java.lang.String uri, java.lang.String localname)
getValueByNamespaceName
in interface SaxAttributes
uri
- The namespace URI or empty string if none.localname
- The local(unqualified) name of the attribute.public character getValueByQname(java.lang.String qname)
getValueByQname
in interface SaxAttributes
qname
- The XML qualified name of the attribute to get the value.public character getValueByQname(character qname)
getValueByQname
in interface SaxAttributes
qname
- The XML qualified name of the attribute to get the value.public logical insertAttribute(Text name, Text value, Text uri)
insertAttribute
in interface SaxEntity
insertAttribute
in class SaxEntityImpl
name
- The attribute name to insert.value
- The attribute value to insert.uri
- The URI of the attribute to insert or '?' for unknown value.true
in case of success false
otherwise.public logical removeAttribute(character name, character uri)
removeAttribute
in interface XCommon
removeAttribute
in class SaxEntityImpl
name
- The name of the attribute to remove.uri
- The URI of the attribute to remove.true
in case of success false
otherwise.public logical removeAttribute(NumberType index, character uri)
removeAttribute
in interface XCommon
removeAttribute
in class SaxEntityImpl
index
- The 1-based index of the attribute to remove.uri
- The URI of the attribute to remove.true
in case of success false
otherwise.public logical updateAttribute(character name, character value)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.true
in case of success false
otherwise.public logical updateAttribute(character name, character value, character uri)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(NumberType index, character value, character uri)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(character name, java.lang.String value)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.true
in case of success false
otherwise.public logical updateAttribute(character name, java.lang.String value, character uri)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(character name, character value, java.lang.String uri)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(character name, java.lang.String value, java.lang.String uri)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(java.lang.String name, character value)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.true
in case of success false
otherwise.public logical updateAttribute(java.lang.String name, java.lang.String value)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.true
in case of success false
otherwise.public logical updateAttribute(java.lang.String name, java.lang.String value, character uri)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(java.lang.String name, character value, java.lang.String uri)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(java.lang.String name, java.lang.String value, java.lang.String uri)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(java.lang.String name, character value, character uri)
updateAttribute
in interface SaxAttributes
name
- The name of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(NumberType index, character value)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.true
in case of success false
otherwise.public logical updateAttribute(NumberType index, java.lang.String value)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.true
in case of success false
otherwise.public logical updateAttribute(NumberType index, java.lang.String value, character uri)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(NumberType index, character value, java.lang.String uri)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(NumberType index, java.lang.String value, java.lang.String uri)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(double index, character value)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.true
in case of success false
otherwise.public logical updateAttribute(double index, java.lang.String value)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.true
in case of success false
otherwise.public logical updateAttribute(double index, java.lang.String value, character uri)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(double index, character value, java.lang.String uri)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(double index, java.lang.String value, java.lang.String uri)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.public logical updateAttribute(double index, character value, character uri)
updateAttribute
in interface SaxAttributes
index
- The 1-based position index of the attribute to update.value
- The new value of the updated attribute.uri
- The URI of the attribute to update.true
in case of success false
otherwise.org.xml.sax.Attributes getAttributes()