APIdia Launch Partner
Top Fields Constructors Methods
com.sun.xml.internal.stream.events

public Class NamedEvent

extends DummyEvent
Class Inheritance
Imports
javax.xml.namespace.QName

Author
Neeraj Bajaj, Sun Microsystems

Field Summary

Modifier and TypeField and Description
private QName
Inherited from com.sun.xml.internal.stream.events.DummyEvent:
fLocation

Constructor Summary

AccessConstructor and Description
public
public
public
NamedEvent(String prefix, String uri, String localpart)

Method Summary

Modifier and TypeMethod and Description
public QName
public String
public String
public String
public void
setName(QName qname)

protected void
writeAsEncodedUnicodeEx(Writer writer)

Implements abstract com.sun.xml.internal.stream.events.DummyEvent.writeAsEncodedUnicodeEx.

Helper method in order to expose IOException.

Inherited from com.sun.xml.internal.stream.events.DummyEvent:
asCharactersasEndElementasStartElementcharEncodegetEventTypegetLocationgetSchemaTypeisAttributeisCharacterDataisCharactersisEndDocumentisEndElementisEntityReferenceisNamespaceisProcessingInstructionisStartDocumentisStartElementsetEventTypesetLocationwriteAsEncodedUnicode

Field Detail

nameback to summary
private QName name

Constructor Detail

NamedEventback to summary
public NamedEvent()
NamedEventback to summary
public NamedEvent(QName qname)
NamedEventback to summary
public NamedEvent(String prefix, String uri, String localpart)

Method Detail

getNameback to summary
public QName getName()
getNamespaceback to summary
public String getNamespace()
getPrefixback to summary
public String getPrefix()
nameAsStringback to summary
public String nameAsString()
setNameback to summary
public void setName(QName qname)
writeAsEncodedUnicodeExback to summary
protected void writeAsEncodedUnicodeEx(Writer writer) throws IOException

Implements abstract com.sun.xml.internal.stream.events.DummyEvent.writeAsEncodedUnicodeEx.

Doc from com.sun.xml.internal.stream.events.DummyEvent.writeAsEncodedUnicodeEx.

Helper method in order to expose IOException.

Exceptions
IOException:
if there is an IO error