com.simonstl.midp.tam
Interface TamAttributes

All Known Implementing Classes:
TAMAttributesImpl

public interface TamAttributes

A subset of the SAX2 Attributes interface. Since there's no reading of the DTD, the getType method has been removed and a getContainsSkippedEntity method added.

Author:
simonstl

Method Summary
 boolean getContainsSkippedEntity(int index)
          Added because TAM processors are not required to read DTDs.
 boolean getContainsSkippedEntity(java.lang.String uri, java.lang.String localName)
          Added because TAM processors are not required to read DTDs.
 int getIndex(java.lang.String uri, java.lang.String localName)
           
 int getLength()
           
 java.lang.String getLocalName(int index)
           
 java.lang.String getPrefix(int index)
           
 java.lang.String getQName(int index)
           
 java.lang.String getUri(int index)
           
 java.lang.String getValue(int index)
           
 java.lang.String getValue(java.lang.String uri, java.lang.String localName)
           
 

Method Detail

getIndex

public int getIndex(java.lang.String uri,
                    java.lang.String localName)

getLength

public int getLength()

getLocalName

public java.lang.String getLocalName(int index)

getQName

public java.lang.String getQName(int index)

getPrefix

public java.lang.String getPrefix(int index)

getUri

public java.lang.String getUri(int index)

getValue

public java.lang.String getValue(int index)

getValue

public java.lang.String getValue(java.lang.String uri,
                                 java.lang.String localName)

getContainsSkippedEntity

public boolean getContainsSkippedEntity(int index)
Added because TAM processors are not required to read DTDs. If this is true, the entity reference will be left in place in the attribute value.

getContainsSkippedEntity

public boolean getContainsSkippedEntity(java.lang.String uri,
                                        java.lang.String localName)
Added because TAM processors are not required to read DTDs. If this is true, the entity reference will be left in place in the attribute value.