Class AttributeImpl
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.stax.events.AttributeImpl
-
- All Implemented Interfaces:
Attribute
,XMLEvent
,XMLStreamConstants
- Direct Known Subclasses:
NamespaceImpl
public class AttributeImpl extends Object implements Attribute
- Version:
- $Id$
- 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
Constructors Modifier Constructor Description protected
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Characters
asCharacters()
EndElement
asEndElement()
StartElement
asStartElement()
String
getDTDType()
int
getEventType()
Location
getLocation()
QName
getName()
QName
getSchemaType()
String
getValue()
boolean
isAttribute()
boolean
isCharacters()
boolean
isEndDocument()
boolean
isEndElement()
boolean
isEntityReference()
boolean
isNamespace()
boolean
isProcessingInstruction()
boolean
isSpecified()
boolean
isStartDocument()
boolean
isStartElement()
String
toString()
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
-
-
-
-
Method Detail
-
getName
public final QName getName()
- Specified by:
getName
in interfaceAttribute
- See Also:
Attribute.getName()
-
getValue
public final String getValue()
- Specified by:
getValue
in interfaceAttribute
- See Also:
Attribute.getValue()
-
getDTDType
public final String getDTDType()
- Specified by:
getDTDType
in interfaceAttribute
- See Also:
Attribute.getDTDType()
-
isSpecified
public final boolean isSpecified()
- Specified by:
isSpecified
in interfaceAttribute
- See Also:
Attribute.isSpecified()
-
writeAsEncodedUnicode
public final void writeAsEncodedUnicode(Writer writer) throws XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interfaceXMLEvent
- Throws:
XMLStreamException
-
getEventType
public final int getEventType()
- Specified by:
getEventType
in interfaceXMLEvent
- See Also:
XMLEvent.getEventType()
-
getLocation
public final Location getLocation()
- Specified by:
getLocation
in interfaceXMLEvent
- See Also:
XMLEvent.getLocation()
-
isStartElement
public final boolean isStartElement()
- Specified by:
isStartElement
in interfaceXMLEvent
- See Also:
XMLEvent.isStartElement()
-
isAttribute
public final boolean isAttribute()
- Specified by:
isAttribute
in interfaceXMLEvent
- See Also:
XMLEvent.isAttribute()
-
isNamespace
public final boolean isNamespace()
- Specified by:
isNamespace
in interfaceXMLEvent
- See Also:
XMLEvent.isNamespace()
-
isEndElement
public final boolean isEndElement()
- Specified by:
isEndElement
in interfaceXMLEvent
- See Also:
XMLEvent.isEndElement()
-
isEntityReference
public final boolean isEntityReference()
- Specified by:
isEntityReference
in interfaceXMLEvent
- See Also:
XMLEvent.isEntityReference()
-
isProcessingInstruction
public final boolean isProcessingInstruction()
- Specified by:
isProcessingInstruction
in interfaceXMLEvent
- See Also:
XMLEvent.isProcessingInstruction()
-
isCharacters
public final boolean isCharacters()
- Specified by:
isCharacters
in interfaceXMLEvent
- See Also:
XMLEvent.isCharacters()
-
isStartDocument
public final boolean isStartDocument()
- Specified by:
isStartDocument
in interfaceXMLEvent
- See Also:
XMLEvent.isStartDocument()
-
isEndDocument
public final boolean isEndDocument()
- Specified by:
isEndDocument
in interfaceXMLEvent
- See Also:
XMLEvent.isEndDocument()
-
asStartElement
public final StartElement asStartElement()
- Specified by:
asStartElement
in interfaceXMLEvent
- See Also:
XMLEvent.asStartElement()
-
asEndElement
public final EndElement asEndElement()
- Specified by:
asEndElement
in interfaceXMLEvent
- See Also:
XMLEvent.asEndElement()
-
asCharacters
public final Characters asCharacters()
- Specified by:
asCharacters
in interfaceXMLEvent
- See Also:
XMLEvent.asCharacters()
-
getSchemaType
public final QName getSchemaType()
- Specified by:
getSchemaType
in interfaceXMLEvent
- See Also:
XMLEvent.getSchemaType()
-
-