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
ConstructorsModifierConstructorDescriptionprotectedAttributeImpl(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 Charactersfinal EndElementfinal StartElementfinal Stringfinal intfinal Locationfinal QNamegetName()final QNamefinal StringgetValue()final booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal booleanfinal StringtoString()final voidwriteAsEncodedUnicode(Writer writer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
getDTDTypein interfaceAttribute- See Also:
-
isSpecified
public final boolean isSpecified()- Specified by:
isSpecifiedin interfaceAttribute- See Also:
-
writeAsEncodedUnicode
- Specified by:
writeAsEncodedUnicodein interfaceXMLEvent- Throws:
XMLStreamException
-
getEventType
public final int getEventType()- Specified by:
getEventTypein interfaceXMLEvent- See Also:
-
getLocation
- Specified by:
getLocationin interfaceXMLEvent- See Also:
-
isStartElement
public final boolean isStartElement()- Specified by:
isStartElementin interfaceXMLEvent- See Also:
-
isAttribute
public final boolean isAttribute()- Specified by:
isAttributein interfaceXMLEvent- See Also:
-
isNamespace
public final boolean isNamespace()- Specified by:
isNamespacein interfaceXMLEvent- See Also:
-
isEndElement
public final boolean isEndElement()- Specified by:
isEndElementin interfaceXMLEvent- See Also:
-
isEntityReference
public final boolean isEntityReference()- Specified by:
isEntityReferencein interfaceXMLEvent- See Also:
-
isProcessingInstruction
public final boolean isProcessingInstruction()- Specified by:
isProcessingInstructionin interfaceXMLEvent- See Also:
-
isCharacters
public final boolean isCharacters()- Specified by:
isCharactersin interfaceXMLEvent- See Also:
-
isStartDocument
public final boolean isStartDocument()- Specified by:
isStartDocumentin interfaceXMLEvent- See Also:
-
isEndDocument
public final boolean isEndDocument()- Specified by:
isEndDocumentin interfaceXMLEvent- See Also:
-
asStartElement
- Specified by:
asStartElementin interfaceXMLEvent- See Also:
-
asEndElement
- Specified by:
asEndElementin interfaceXMLEvent- See Also:
-
asCharacters
- Specified by:
asCharactersin interfaceXMLEvent- See Also:
-
getSchemaType
- Specified by:
getSchemaTypein interfaceXMLEvent- See Also:
-
toString
-