public class AttributeWriter extends AbstractMessageWriter
Constructor and Description |
---|
AttributeWriter(org.jdom.Attribute att) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Tells the MessageWriter that writing operations are completed so it can
write the end element.
|
MessageWriter |
getAttributeWriter(QName qname) |
MessageWriter |
getAttributeWriter(String name) |
MessageWriter |
getAttributeWriter(String name,
String namespace) |
MessageWriter |
getElementWriter(QName qname) |
MessageWriter |
getElementWriter(String name) |
MessageWriter |
getElementWriter(String name,
String namespace) |
String |
getPrefixForNamespace(String namespace) |
String |
getPrefixForNamespace(String namespace,
String hint)
Get a prefix for a namespace.
|
void |
writeValue(Object value) |
writeValueAsBoolean, writeValueAsByte, writeValueAsCharacter, writeValueAsDouble, writeValueAsFloat, writeValueAsInt, writeValueAsLong, writeValueAsShort, writeXsiNil, writeXsiType
public void writeValue(Object value)
public MessageWriter getAttributeWriter(String name)
public MessageWriter getAttributeWriter(String name, String namespace)
public MessageWriter getAttributeWriter(QName qname)
public MessageWriter getElementWriter(String name)
public MessageWriter getElementWriter(String name, String namespace)
public MessageWriter getElementWriter(QName qname)
public String getPrefixForNamespace(String namespace, String hint)
MessageWriter
namespace
- the namespace to retrieve the prefix forhint
- the hint for the prefix.public void close()
MessageWriter
Apache CXF