public class XMLAttributesInDTS.NodeAttributeList
extends net.sf.saxon.tree.util.AttributeCollectionImpl
implements net.sf.saxon.om.AttributeCollection
| Constructor and Description | 
|---|
| NodeAttributeList(net.sf.saxon.Configuration config)Instantiates a new node attribute list. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAttribute(net.sf.saxon.om.NodeName nodeName,
            net.sf.saxon.type.SimpleType type,
            java.lang.String value,
            int locationId,
            int properties)Add an attribute to an attribute list. | 
| int | findByNodeName(net.sf.saxon.om.NodeName nameCode)Find by node name. | 
| int | getIndex(java.lang.String uri,
        java.lang.String localname)Gets the index. | 
| int | getIndexByFingerprint(int fingerprint)Gets the index by fingerprint. | 
| int | getLength()Gets the length. | 
| int | getLineNumber(int index)Gets the line number. | 
| java.lang.String | getLocalName(int index)Gets the local name. | 
| int | getLocationId(int index)Gets the location id. | 
| int | getNameCode(int index)Gets the name code. | 
| net.sf.saxon.om.NodeName | getNodeName(int index)Gets the node name. | 
| java.lang.String | getPrefix(int index)Gets the prefix. | 
| int | getProperties(int index)Gets the properties. | 
| java.lang.String | getQName(int index)Gets the q name. | 
| java.lang.String | getSystemId(int index)Gets the system id. | 
| net.sf.saxon.type.SimpleType | getTypeAnnotation(int index)Gets the type annotation. | 
| java.lang.String | getURI(int index)Gets the uri. | 
| java.lang.String | getValue(int index)Gets the value. | 
| java.lang.String | getValue(java.lang.String uri,
        java.lang.String localname)Gets the value. | 
| java.lang.String | getValueByFingerprint(int fingerprint)Gets the value by fingerprint. | 
| boolean | isDeleted(int index)Checks if is deleted. | 
| boolean | isId(int index)Checks if is id. | 
| boolean | isIdref(int index)Checks if is idref. | 
| void | replaceAttribute(int idx,
                java.lang.String attrValue)Replace attribute. | 
public NodeAttributeList(net.sf.saxon.Configuration config)
config - the configpublic int getLength()
getLength in interface net.sf.saxon.om.AttributeCollectiongetLength in interface org.xml.sax.AttributesgetLength in class net.sf.saxon.tree.util.AttributeCollectionImplpublic net.sf.saxon.om.NodeName getNodeName(int index)
getNodeName in interface net.sf.saxon.om.AttributeCollectiongetNodeName in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic int getNameCode(int index)
getNameCode in interface net.sf.saxon.om.AttributeCollectiongetNameCode in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic net.sf.saxon.type.SimpleType getTypeAnnotation(int index)
getTypeAnnotation in interface net.sf.saxon.om.AttributeCollectiongetTypeAnnotation in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic int getLocationId(int index)
getLocationId in interface net.sf.saxon.om.AttributeCollectiongetLocationId in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic java.lang.String getSystemId(int index)
getSystemId in interface net.sf.saxon.om.AttributeCollectiongetSystemId in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic int getLineNumber(int index)
getLineNumber in interface net.sf.saxon.om.AttributeCollectiongetLineNumber in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic int getProperties(int index)
getProperties in interface net.sf.saxon.om.AttributeCollectiongetProperties in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic java.lang.String getPrefix(int index)
getPrefix in interface net.sf.saxon.om.AttributeCollectiongetPrefix in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic java.lang.String getQName(int index)
getQName in interface net.sf.saxon.om.AttributeCollectiongetQName in interface org.xml.sax.AttributesgetQName in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic java.lang.String getLocalName(int index)
getLocalName in interface net.sf.saxon.om.AttributeCollectiongetLocalName in interface org.xml.sax.AttributesgetLocalName in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic java.lang.String getURI(int index)
getURI in interface net.sf.saxon.om.AttributeCollectiongetURI in interface org.xml.sax.AttributesgetURI in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic int getIndex(java.lang.String uri,
                    java.lang.String localname)
getIndex in interface net.sf.saxon.om.AttributeCollectiongetIndex in interface org.xml.sax.AttributesgetIndex in class net.sf.saxon.tree.util.AttributeCollectionImpluri - the urilocalname - the localnamepublic int getIndexByFingerprint(int fingerprint)
getIndexByFingerprint in interface net.sf.saxon.om.AttributeCollectiongetIndexByFingerprint in class net.sf.saxon.tree.util.AttributeCollectionImplfingerprint - the fingerprintpublic java.lang.String getValueByFingerprint(int fingerprint)
getValueByFingerprint in interface net.sf.saxon.om.AttributeCollectiongetValueByFingerprint in class net.sf.saxon.tree.util.AttributeCollectionImplfingerprint - the fingerprintpublic java.lang.String getValue(java.lang.String uri,
                                 java.lang.String localname)
getValue in interface net.sf.saxon.om.AttributeCollectiongetValue in interface org.xml.sax.AttributesgetValue in class net.sf.saxon.tree.util.AttributeCollectionImpluri - the urilocalname - the localnamepublic java.lang.String getValue(int index)
getValue in interface net.sf.saxon.om.AttributeCollectiongetValue in interface org.xml.sax.AttributesgetValue in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic boolean isId(int index)
isId in interface net.sf.saxon.om.AttributeCollectionisId in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic boolean isIdref(int index)
isIdref in interface net.sf.saxon.om.AttributeCollectionisIdref in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexpublic int findByNodeName(net.sf.saxon.om.NodeName nameCode)
findByNodeName in class net.sf.saxon.tree.util.AttributeCollectionImplnameCode - the name codepublic void addAttribute(net.sf.saxon.om.NodeName nodeName,
                         net.sf.saxon.type.SimpleType type,
                         java.lang.String value,
                         int locationId,
                         int properties)
Receiver.attribute(net.sf.saxon.om.NodeName, net.sf.saxon.type.SimpleType, CharSequence, int, int)
 method. There is no check that the name of the attribute is distinct from other attributes
 already in the collection: this check must be made by the caller.addAttribute in class net.sf.saxon.tree.util.AttributeCollectionImplnodeName - Object representing the attribute name.type - The attribute typevalue - The attribute value (must not be null)locationId - Identifies the attribute location.properties - Attribute propertiespublic void replaceAttribute(int idx,
                             java.lang.String attrValue)
idx - the idxattrValue - the attr valuepublic boolean isDeleted(int index)
isDeleted in class net.sf.saxon.tree.util.AttributeCollectionImplindex - the indexCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa