| java.lang.Object com.sun.xml.stream.events.DummyEvent com.sun.xml.stream.events.AttributeImpl
All known Subclasses: com.sun.xml.stream.events.NamespaceImpl,
AttributeImpl | public class AttributeImpl extends DummyEvent implements Attribute(Code) | | Implementation of Attribute Event.
author: Neeraj Bajaj, Sun Microsystems author: K.Venugopal, Sun Microsystems |
Constructor Summary | |
public | AttributeImpl() | public | AttributeImpl(String name, String value) | public | AttributeImpl(String prefix, String name, String value) | public | AttributeImpl(String prefix, String uri, String localPart, String value, String type) | public | AttributeImpl(String prefix, String uri, String localPart, String value, String nonNormalizedvalue, String type, boolean isSpecified) | public | AttributeImpl(QName qname, String value, String nonNormalizedvalue, String type, boolean isSpecified) |
AttributeImpl | public AttributeImpl()(Code) | | |
getDTDType | public String getDTDType()(Code) | | Gets the type of this attribute, default is "CDATA
|
getNonNormalizedValue | public String getNonNormalizedValue()(Code) | | |
init | protected void init()(Code) | | |
isSpecified | public boolean isSpecified()(Code) | | |
setAttributeType | public void setAttributeType(String attributeType)(Code) | | |
setNonNormalizedValue | public void setNonNormalizedValue(String nonNormalizedvalue)(Code) | | |
setSpecified | public void setSpecified(boolean isSpecified)(Code) | | is this attribute is specified in the instance document
|
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 |
|
|