public class SaxAttributesImpl extends SaxEntityImpl implements SaxAttributes
| Modifier and Type | Field and Description |
|---|---|
private org.xml.sax.helpers.AttributesImpl |
attributes
List of XML attributes.
|
isValidname, nextSibling, prevSibling, wainstProc, pm| 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, writerOutputErroraddSchemaLocation, addSchemaLocation, addSchemaLocation, addSchemaLocation, getNonamespaceSchemaLocation, hasNextSibling, hasPrevSibling, invalidArgumentAssignError, invalidArgumentError, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, resourceDelete, setNonamespaceSchemaLocation, setNonamespaceSchemaLocation, valid_name, delete, firstResource, firstResource, getHead, getNextSibling, getNextSibling, getPrevSibling, getPrevSibling, getPrivateData, getTail, hasName, hasNameConstraints, hasNameReadOnly, hasParent, hasPrivateData, interlink, isChained, lastResource, lastResource, moveInChain, name, name, name, readOnlyError, readOnlyError, resolveChainType, setHead, setNextSibling, setNextSibling, setPrevSibling, setPrevSibling, setPrivateData, setPrivateData, setPrivateData, validateName_instantiatingProcedure, addToPool, doDelete, equals, hashCode, id, id, implicitDeletion, incrementTrigger, instantiatingProcedure, invalidAttribute, processResource, registerResource, resourceType, setInstantiatingProcedure, toString, type, unableToAssignUnknown, unknownclone, finalize, getClass, notify, notifyAll, wait, wait, waitinsertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttribute, insertAttributeaddSchemaLocation, addSchemaLocation, addSchemaLocation, addSchemaLocation, getNonamespaceSchemaLocation, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, removeAttribute, setNonamespaceSchemaLocation, setNonamespaceSchemaLocationid, id, unknown, validgetUniqueIDgetADMData, setADMData, setADMDataresourceTypeallowDeleteprivate 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 SaxAttributesattrHandle - 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 SaxAttributesuri - 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 SaxAttributesuri - 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 SaxAttributesuri - 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 SaxAttributesuri - 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 SaxAttributesqname - The XML qualified name of the attribute to get the index.public integer getIndexByQname(Text qname)
getIndexByQname in interface SaxAttributesqname - The XML qualified name of the attribute to get the index.public character getLocalnameByIndex(double index)
getLocalnameByIndex in interface SaxAttributesindex - The 1-based index of the attribute name to get.public character getLocalnameByIndex(NumberType index)
getLocalnameByIndex in interface SaxAttributesindex - The 1-based index of the attribute name to get.public integer getNumItems()
getNumItems in interface NumItemspublic character getQnameByIndex(double index)
getQnameByIndex in interface SaxAttributesindex - The 1-based index of the attribute name to get.public character getQnameByIndex(NumberType index)
getQnameByIndex in interface SaxAttributesindex - The 1-based index of the attribute name to get.public character getTypeByIndex(double index)
getTypeByIndex in interface SaxAttributesindex - The 1-based index of the attribute type to get.public character getTypeByIndex(NumberType index)
getTypeByIndex in interface SaxAttributesindex - The 1-based index of the attribute type to get.public character getTypeByNamespaceName(java.lang.String uri, Text localname)
getTypeByNamespaceName in interface SaxAttributesuri - 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 SaxAttributesuri - 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 SaxAttributesuri - 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 SaxAttributesuri - 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 SaxAttributesqname - The XML qualified name of the attribute to get the type.public character getTypeByQname(character qname)
getTypeByQname in interface SaxAttributesqname - The XML qualified name of the attribute to get the type.public character getUriByIndex(double index)
getUriByIndex in interface SaxAttributesindex - The 1-based index of the namespace URI to get.public character getUriByIndex(NumberType index)
getUriByIndex in interface SaxAttributesindex - The 1-based index of the namespace URI to get.public character getValueByIndex(double index)
getValueByIndex in interface SaxAttributesindex - The 1-based index of the attribute to get.public character getValueByIndex(NumberType index)
getValueByIndex in interface SaxAttributesindex - The 1-based index of the attribute to get.public character getValueByNamespaceName(java.lang.String uri, Text localname)
getValueByNamespaceName in interface SaxAttributesuri - 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 SaxAttributesuri - 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 SaxAttributesuri - 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 SaxAttributesuri - 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 SaxAttributesqname - The XML qualified name of the attribute to get the value.public character getValueByQname(character qname)
getValueByQname in interface SaxAttributesqname - The XML qualified name of the attribute to get the value.public logical insertAttribute(Text name, Text value, Text uri)
insertAttribute in interface SaxEntityinsertAttribute in class SaxEntityImplname - 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 XCommonremoveAttribute in class SaxEntityImplname - 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 XCommonremoveAttribute in class SaxEntityImplindex - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesindex - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesname - 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 SaxAttributesindex - 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 SaxAttributesindex - 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 SaxAttributesindex - 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 SaxAttributesindex - 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 SaxAttributesindex - 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 SaxAttributesindex - 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 SaxAttributesindex - 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 SaxAttributesindex - 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 SaxAttributesindex - 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 SaxAttributesindex - 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 SaxAttributesindex - 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()