public class FacturXSettings extends java.lang.Object implements java.io.Serializable, com.inet.report.ReferenceHolder, NodeParser
Modifier and Type | Method and Description |
---|---|
void |
clearMappings()
Removes all mappings between FacturX nodes and fields from the report.
|
GroupField |
getDataGroup()
Get the group for which a line in the invoice should be created.
|
java.util.HashMap<java.lang.String,Field> |
getFields()
Provides a map with all available field mappings.
|
com.inet.report.renderer.factur.model.ProfileLevel |
getProfile()
Get the profile of the FacturX.
|
void |
put(com.inet.report.renderer.factur.model.FacturModelNode node,
Field field)
Put a mapping between a FacturX node and a field from the report.
|
void |
remove(com.inet.report.renderer.factur.model.FacturModelNode node)
Remove a mapping between a FacturX node and a field from the report.
|
void |
setDataGroup(GroupField group)
Set for which group a line in the invoice should be created.
|
void |
setProfile(com.inet.report.renderer.factur.model.ProfileLevel profile)
Set the profile of the FacturX.
|
isDOMParser, parseDOM, parseElement, parseEndElement, parseText
public void setProfile(@Nonnull com.inet.report.renderer.factur.model.ProfileLevel profile)
profile
- the new profile@Nonnull public com.inet.report.renderer.factur.model.ProfileLevel getProfile()
public void put(com.inet.report.renderer.factur.model.FacturModelNode node, Field field)
node
- the target FacturX nodefield
- the value sourcepublic java.util.HashMap<java.lang.String,Field> getFields()
public void remove(com.inet.report.renderer.factur.model.FacturModelNode node)
node
- the FacturX nodepublic void clearMappings()
public void setDataGroup(@Nullable GroupField group)
group
- the grouppublic GroupField getDataGroup()
Copyright © 1999-2020 by i-net software GmbH