public class AnonymisingEntityXmlWriter extends Object implements EntityXmlWriter
AnonymousGenericValue
This would be used to anonymise data before sending it to Atlassian for instance. It should never be used to back up data, as the data would be unable to be restored.
Modifier and Type | Field and Description |
---|---|
static Collection<AnonymousEntity> |
DEFAULT_ANONYMOUS_ENTITIES |
Constructor and Description |
---|
AnonymisingEntityXmlWriter()
An Anonymising writer, that is initalised using the default JIRA entities from
DEFAULT_ANONYMOUS_ENTITIES |
AnonymisingEntityXmlWriter(Collection anonymousEntities) |
Modifier and Type | Method and Description |
---|---|
void |
writeXmlText(org.ofbiz.core.entity.GenericValue entity,
PrintWriter writer) |
public static final Collection<AnonymousEntity> DEFAULT_ANONYMOUS_ENTITIES
public AnonymisingEntityXmlWriter(Collection anonymousEntities)
anonymousEntities
- A collection of AnonymousEntity
objects, representing the entities to escapepublic AnonymisingEntityXmlWriter()
DEFAULT_ANONYMOUS_ENTITIES
public void writeXmlText(org.ofbiz.core.entity.GenericValue entity, PrintWriter writer)
writeXmlText
in interface EntityXmlWriter
Copyright © 2002-2019 Atlassian. All Rights Reserved.