Package org.apache.xerces.stax.events
Class AttributeImpl
java.lang.Object
org.apache.xerces.stax.events.AttributeImpl
- All Implemented Interfaces:
Attribute
,XMLEvent
,XMLStreamConstants
- Direct Known Subclasses:
NamespaceImpl
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: AttributeImpl.java 730471 2008-12-31 20:45:32Z mrglavas $
- Author:
- Lucian Holland
-
Field Summary
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AttributeImpl
(int type, QName name, String value, String dtdType, boolean isSpecified, Location location) AttributeImpl
(QName name, String value, String dtdType, boolean isSpecified, Location location) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal Characters
final EndElement
final StartElement
final String
final int
final Location
final QName
getName()
final QName
final String
getValue()
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final String
toString()
final void
writeAsEncodedUnicode
(Writer writer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface javax.xml.stream.events.XMLEvent
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement
-
Constructor Details
-
Method Details
-
getName
-
getValue
-
getDTDType
- Specified by:
getDTDType
in interfaceAttribute
- See Also:
-
isSpecified
public final boolean isSpecified()- Specified by:
isSpecified
in interfaceAttribute
- See Also:
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Throws:
XMLStreamException
-
getEventType
public final int getEventType()- Specified by:
getEventType
in interfaceXMLEvent
- See Also:
-
getLocation
- Specified by:
getLocation
in interfaceXMLEvent
- See Also:
-
isStartElement
public final boolean isStartElement()- Specified by:
isStartElement
in interfaceXMLEvent
- See Also:
-
isAttribute
public final boolean isAttribute()- Specified by:
isAttribute
in interfaceXMLEvent
- See Also:
-
isNamespace
public final boolean isNamespace()- Specified by:
isNamespace
in interfaceXMLEvent
- See Also:
-
isEndElement
public final boolean isEndElement()- Specified by:
isEndElement
in interfaceXMLEvent
- See Also:
-
isEntityReference
public final boolean isEntityReference()- Specified by:
isEntityReference
in interfaceXMLEvent
- See Also:
-
isProcessingInstruction
public final boolean isProcessingInstruction()- Specified by:
isProcessingInstruction
in interfaceXMLEvent
- See Also:
-
isCharacters
public final boolean isCharacters()- Specified by:
isCharacters
in interfaceXMLEvent
- See Also:
-
isStartDocument
public final boolean isStartDocument()- Specified by:
isStartDocument
in interfaceXMLEvent
- See Also:
-
isEndDocument
public final boolean isEndDocument()- Specified by:
isEndDocument
in interfaceXMLEvent
- See Also:
-
asStartElement
- Specified by:
asStartElement
in interfaceXMLEvent
- See Also:
-
asEndElement
- Specified by:
asEndElement
in interfaceXMLEvent
- See Also:
-
asCharacters
- Specified by:
asCharacters
in interfaceXMLEvent
- See Also:
-
getSchemaType
- Specified by:
getSchemaType
in interfaceXMLEvent
- See Also:
-
toString
-