public class XmlSchemaDocSerializerSession extends XmlSchemaSerializerSession
XmlSchemaDocSerializer.
This class is NOT thread safe. It is typically discarded after one-time use although it can be reused within the same thread.
XmlSerializerSession.ContentResultindent| Modifier | Constructor and Description |
|---|---|
protected |
XmlSchemaDocSerializerSession(XmlSchemaDocSerializer ctx,
SerializerSessionArgs args)
Create a new session using properties specified in the context.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doSerialize(SerializerPipe out,
Object o)
Serializes a POJO to the specified output stream or writer.
|
getValidator, isTrimStringsasMap, findNsfMappings, getDefaultNamespace, getNamespaces, getXmlWriter, getXsNamespace, isAddBeanTypes, isAddNamespaceUrlsToRoot, isAutoDetectNamespaces, isEnableNamespaces, isHtmlMode, serializeAnythinggetMaxIndent, getQuoteChar, isWriterSerializer, serialize, serializeToStringcanIgnoreValue, createBeanTypeNameProperty, createPipe, generalize, getBeanTypeName, getExpectedRootType, getJavaMethod, getListener, getListener, getResponseHeaders, getUriContext, getUriRelativity, getUriResolution, getUriResolver, isAddRootType, isSortCollections, isSortMaps, isTrimEmptyCollections, isTrimEmptyMaps, isTrimNullProperties, isUseWhitespace, onBeanGetterException, onError, relativizeUri, resolveUri, serialize, sort, sort, toList, toString, trimgetInitialDepth, getLastLocation, getMaxDepth, getStack, isDetectRecursions, isIgnoreRecursions, pop, push, setCurrentClass, setCurrentProperty, willRecurse_class, checkForWarnings, convertToMemberType, convertToMemberType, convertToType, convertToType, convertToType, getArgsClassMeta, getBeanClassVisibility, getBeanConstructorVisibility, getBeanDictionaryClasses, getBeanFieldVisibility, getBeanMeta, getBeanMethodVisibility, getBeanRegistry, getBeanTypePropertyName, getBeanTypePropertyName, getClassMeta, getClassMeta, getClassMetaForObject, getLocale, getMediaType, getPropertyNamer, getSchema, getStringBuilder, getTimeZone, isBean, isBean, isBeanMapPutReturnsOldValue, isBeansRequireDefaultConstructor, isBeansRequireSerializable, isBeansRequireSettersForGetters, isBeansRequireSomeProperties, isDebug, isFluentSetters, isIgnoreInvocationExceptionsOnGetters, isIgnoreInvocationExceptionsOnSetters, isIgnorePropertiesWithoutSetters, isIgnoreUnknownBeanProperties, isIgnoreUnknownNullBeanProperties, isSortProperties, isUseEnumNames, isUseInterfaceProxies, isUseJavaBeanIntrospector, newBean, newBean, newBeanMap, newBeanMap, newInstance, newInstance, newInstanceFromOuter, object, returnStringBuilder, string, toArray, toBeanMap, toBeanMapaddToCache, addToCache, addWarning, getClassProperty, getFromCache, getInstanceArrayProperty, getInstanceProperty, getLogger, getProperties, getProperty, getProperty, getProperty, getPropertyKeys, getWarnings, hasProperty, hasWarnings, toStringprotected XmlSchemaDocSerializerSession(XmlSchemaDocSerializer ctx, SerializerSessionArgs args)
ctx - The context creating this session object.
The context contains all the configuration settings for this object.args - Runtime arguments.
These specify session-level information such as locale and URI context.
It also include session-level properties that override the properties defined on the bean and
serializer contexts.protected void doSerialize(SerializerPipe out, Object o) throws Exception
SerializerSessionThis method should NOT close the context object.
doSerialize in class XmlSchemaSerializerSessionout - Where to send the output from the serializer.o - The object to serialize.Exception - If thrown from underlying stream, or if the input contains a syntax error or is malformed.Copyright © 2018 Apache. All rights reserved.