org.apache.xerces.stax.events
Class AttributeImpl
java.lang.Object
org.apache.xerces.stax.events.XMLEventImpl
org.apache.xerces.stax.events.AttributeImpl
- All Implemented Interfaces:
- Attribute, XMLEvent, XMLStreamConstants
- Direct Known Subclasses:
- NamespaceImpl
public class AttributeImpl
- extends XMLEventImpl
- implements Attribute
- Version:
- $Id: AttributeImpl.java 730471 2008-12-31 20:45:32Z mrglavas $
- Author:
- Lucian Holland
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 |
Methods inherited from class org.apache.xerces.stax.events.XMLEventImpl |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement, toString |
Methods inherited from interface javax.xml.stream.events.XMLEvent |
asCharacters, asEndElement, asStartElement, getEventType, getLocation, getSchemaType, isAttribute, isCharacters, isEndDocument, isEndElement, isEntityReference, isNamespace, isProcessingInstruction, isStartDocument, isStartElement |
AttributeImpl
public AttributeImpl(QName name,
String value,
String dtdType,
boolean isSpecified,
Location location)
- Constructor.
AttributeImpl
protected AttributeImpl(int type,
QName name,
String value,
String dtdType,
boolean isSpecified,
Location location)
getName
public final QName getName()
- Specified by:
getName
in interface Attribute
- See Also:
Attribute.getName()
getValue
public final String getValue()
- Specified by:
getValue
in interface Attribute
- See Also:
Attribute.getValue()
getDTDType
public final String getDTDType()
- Specified by:
getDTDType
in interface Attribute
- See Also:
Attribute.getDTDType()
isSpecified
public final boolean isSpecified()
- Specified by:
isSpecified
in interface Attribute
- See Also:
Attribute.isSpecified()
writeAsEncodedUnicode
public final void writeAsEncodedUnicode(Writer writer)
throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface XMLEvent
- Throws:
XMLStreamException
Copyright © 2011. All Rights Reserved.