public static final class XMLSerializer.XMLSerializerBuilder extends Object
Constructor and Description |
---|
XMLSerializer.XMLSerializerBuilder(ISession paramSession,
long paramNodeKey,
OutputStream paramStream,
XMLSerializerProperties paramProperties,
long... paramVersions)
Constructor.
|
XMLSerializer.XMLSerializerBuilder(ISession paramSession,
OutputStream paramStream,
long... paramVersions)
Constructor, setting the necessary stuff.
|
Modifier and Type | Method and Description |
---|---|
XMLSerializer |
build()
Building new Serializer.
|
XMLSerializer.XMLSerializerBuilder |
setDeclaration(boolean paramDeclaration)
Setting the declaration.
|
XMLSerializer.XMLSerializerBuilder |
setID(boolean paramID)
Setting the ids on nodes.
|
XMLSerializer.XMLSerializerBuilder |
setIndend(boolean paramIndent)
Setting the indention.
|
XMLSerializer.XMLSerializerBuilder |
setREST(boolean paramREST)
Setting the RESTful output.
|
XMLSerializer.XMLSerializerBuilder |
setVersions(long[] paramVersions)
Setting the ids on nodes.
|
public XMLSerializer.XMLSerializerBuilder(ISession paramSession, OutputStream paramStream, long... paramVersions)
paramSession
- ISession
to SerializeparamStream
- OutputStream
paramVersions
- version(s) to Serializepublic XMLSerializer.XMLSerializerBuilder(ISession paramSession, long paramNodeKey, OutputStream paramStream, XMLSerializerProperties paramProperties, long... paramVersions)
paramSession
- ISession
paramNodeKey
- root node key of subtree to shredderparamStream
- OutputStream
paramProperties
- XMLSerializerProperties
paramVersions
- version(s) to serializepublic XMLSerializer.XMLSerializerBuilder setIndend(boolean paramIndent)
paramIndent
- to setpublic XMLSerializer.XMLSerializerBuilder setREST(boolean paramREST)
paramREST
- to setpublic XMLSerializer.XMLSerializerBuilder setDeclaration(boolean paramDeclaration)
paramDeclaration
- to setpublic XMLSerializer.XMLSerializerBuilder setID(boolean paramID)
paramID
- to setpublic XMLSerializer.XMLSerializerBuilder setVersions(long[] paramVersions)
paramVersions
- to setpublic XMLSerializer build()
Copyright © 2013. All Rights Reserved.