| |
|
| java.lang.Object com.sun.xml.stream.events.DummyEvent com.sun.xml.stream.events.StartElementEvent
StartElementEvent | public class StartElementEvent extends DummyEvent implements StartElement(Code) | | Implementation of StartElementEvent.
author: Neeraj Bajaj Sun Microsystems,Inc. author: K.Venugopal Sun Microsystems,Inc. |
StartElementEvent | public StartElementEvent(QName qname)(Code) | | |
addNamespaceAttributes | void addNamespaceAttributes(Iterator attrs)(Code) | | |
getNamespaceContext | public NamespaceContext getNamespaceContext()(Code) | | Gets a read-only namespace context. If no context is
available this method will return an empty namespace context.
The NamespaceContext contains information about all namespaces
in scope for this StartElement.
the current namespace context |
init | protected void init()(Code) | | |
nameAsString | public String nameAsString()(Code) | | Return this event as String
String Event returned as string. |
writeAsEncodedUnicode | public void writeAsEncodedUnicode(Writer writer) throws javax.xml.stream.XMLStreamException(Code) | | This method will write the XMLEvent as per the XML 1.0 specification as Unicode characters.
No indentation or whitespace should be outputted.
Any user defined event type SHALL have this method
called when being written to on an output stream.
Built in Event types MUST implement this method,
but implementations MAY choose not call these methods
for optimizations reasons when writing out built in
Events to an output stream.
The output generated MUST be equivalent in terms of the
infoset expressed.
Parameters: writer - The writer that will output the data throws: XMLStreamException - if there is a fatal error writing the event |
|
|
|