attribute
public void attribute(NodeName attName,
SimpleType typeCode,
CharSequence value,
Location locationId,
int properties)
throws XPathException
Notify an attribute. Attributes are notified after the startElement event, and before any
children. Namespaces and attributes may be intermingled.
- Specified by:
attribute in interface Receiver
- Overrides:
attribute in class HTMLURIEscaper
- Parameters:
attName - The name of the attribute
typeCode - The type of the attribute
locationId - the location of the node in the source, or of the instruction that created it
properties - Bit significant value. The following bits are defined:
- DISABLE_ESCAPING
- Disable escaping for this attribute
- NO_SPECIAL_CHARACTERS
- Attribute value contains no special characters
value - the string value of the attribute
- Throws:
IllegalStateException: - attempt to output an attribute when there is no open element
start tag
XPathException - if an error occurs