public class BaseMarshallingSettings extends Object implements MarshallingSettings
DocumentMarshaller
.Constructor and Description |
---|
BaseMarshallingSettings() |
Modifier and Type | Method and Description |
---|---|
SerializableProcessingSettings |
createSnapshot()
Create a snapshot copy of this instance.
|
void |
disableAllLayers()
Disables the marshalling of all
DocumentLayer s. |
void |
enableAllLayers()
Enables the marshalling of all
DocumentLayer s. |
boolean |
equals(Object o) |
List<DocumentLayer> |
getEnabledLayers(Collection<DocumentLayer> candidateLayers)
Returns a collection of candidate layers in an ordering suitable for marshalling.
|
int |
hashCode() |
boolean |
isDocumentLayerEnabled(DocumentLayer layer)
Returns whether layer class should be marshalled or not.
|
void |
setDocumentLayerEnabled(DocumentLayer layer,
boolean value)
Sets a flag whether document layer of given class should be marshalled or not.
|
public SerializableProcessingSettings createSnapshot()
SerializableProcessingSettings
createSnapshot
in interface ProcessingSettings
createSnapshot
in interface SerializableProcessingSettings
public void setDocumentLayerEnabled(DocumentLayer layer, boolean value)
layer
- Document layer.value
- Flagpublic void enableAllLayers()
DocumentLayer
s.public void disableAllLayers()
DocumentLayer
s.public boolean isDocumentLayerEnabled(DocumentLayer layer)
public List<DocumentLayer> getEnabledLayers(Collection<DocumentLayer> candidateLayers)
Copyright © 2024 levigo holding gmbh. All rights reserved.