public class AttributeSerializationContextImpl extends SerializationContext
log, startOfDocument| Constructor and Description |
|---|
AttributeSerializationContextImpl(Writer writer,
SerializationContext parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement()
Writes the end element tag for the open element.
|
String |
qName2String(QName qname) |
void |
startElement(QName qName,
Attributes attributes)
Writes (using the Writer) the start tag for element QName along with the
indicated attributes and namespace mappings.
|
attributeQName2String, getCurrentMessage, getCurrentXMLType, getDoMultiRefs, getEncoder, getEncoding, getEncodingStyle, getItemQName, getItemType, getMessageContext, getPrefixForURI, getPrefixForURI, getPrefixForURI, getPretty, getQNameForClass, getSerializerForJavaType, getTypeMapping, getTypeMappingRegistry, getValueAsString, isEncoded, isPrimitive, outputMultiRefs, qName2String, registerPrefixForURI, serialize, serialize, serialize, serialize, serialize, serialize, setDoMultiRefs, setEncoding, setItemQName, setItemType, setPretty, setSendDecl, setTypeAttribute, setWriteXMLType, shouldSendXSIType, writeChars, writeDOMElement, writeSafeString, writeString, writeXMLDeclarationpublic AttributeSerializationContextImpl(Writer writer, SerializationContext parent)
public void startElement(QName qName, Attributes attributes) throws IOException
SerializationContextstartElement in class SerializationContextqName - is the name of the elementattributes - are the attributes to writeIOExceptionpublic void endElement()
throws IOException
SerializationContextendElement in class SerializationContextIOExceptionpublic String qName2String(QName qname)
qName2String in class SerializationContextCopyright © The Apache Software Foundation. All Rights Reserved.