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:
- javax.xml.stream.events.Attribute, javax.xml.stream.events.XMLEvent, javax.xml.stream.XMLStreamConstants
- Direct Known Subclasses:
- NamespaceImpl
- public class AttributeImpl
- extends XMLEventImpl
- implements javax.xml.stream.events.Attribute
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
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 |
protected |
AttributeImpl(int type,
javax.xml.namespace.QName name,
java.lang.String value,
java.lang.String dtdType,
boolean isSpecified,
javax.xml.stream.Location location)
|
|
AttributeImpl(javax.xml.namespace.QName name,
java.lang.String value,
java.lang.String dtdType,
boolean isSpecified,
javax.xml.stream.Location location)
Constructor. |
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 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 |
AttributeImpl
public AttributeImpl(javax.xml.namespace.QName name,
java.lang.String value,
java.lang.String dtdType,
boolean isSpecified,
javax.xml.stream.Location location)
- Constructor.
AttributeImpl
protected AttributeImpl(int type,
javax.xml.namespace.QName name,
java.lang.String value,
java.lang.String dtdType,
boolean isSpecified,
javax.xml.stream.Location location)
getName
public final javax.xml.namespace.QName getName()
- Specified by:
getName
in interface javax.xml.stream.events.Attribute
- See Also:
Attribute.getName()
getValue
public final java.lang.String getValue()
- Specified by:
getValue
in interface javax.xml.stream.events.Attribute
- See Also:
Attribute.getValue()
getDTDType
public final java.lang.String getDTDType()
- Specified by:
getDTDType
in interface javax.xml.stream.events.Attribute
- See Also:
Attribute.getDTDType()
isSpecified
public final boolean isSpecified()
- Specified by:
isSpecified
in interface javax.xml.stream.events.Attribute
- See Also:
Attribute.isSpecified()
writeAsEncodedUnicode
public final void writeAsEncodedUnicode(java.io.Writer writer)
throws javax.xml.stream.XMLStreamException
- Specified by:
writeAsEncodedUnicode
in interface javax.xml.stream.events.XMLEvent
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.