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, writeXMLDeclaration
public AttributeSerializationContextImpl(Writer writer, SerializationContext parent)
public void startElement(QName qName, Attributes attributes) throws IOException
SerializationContext
startElement
in class SerializationContext
qName
- is the name of the elementattributes
- are the attributes to writeIOException
public void endElement() throws IOException
SerializationContext
endElement
in class SerializationContext
IOException
public String qName2String(QName qname)
qName2String
in class SerializationContext
Copyright © The Apache Software Foundation. All Rights Reserved.