Package lumis.portal.bigdata
Class InnerFieldsXmlAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<org.w3c.dom.Element,java.util.Map<java.lang.String,DocumentTypeField>>
-
- lumis.portal.bigdata.InnerFieldsXmlAdapter
-
public class InnerFieldsXmlAdapter extends XmlAdapter<org.w3c.dom.Element,java.util.Map<java.lang.String,DocumentTypeField>>
- Since:
- 15.0.0
- Version:
- $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
-
-
Constructor Summary
Constructors Constructor Description InnerFieldsXmlAdapter(Marshaller marshaller)
InnerFieldsXmlAdapter(Unmarshaller unmarshaller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getKeyElementName()
Returns the name of the element used to represent the key of a map entry.protected java.lang.String
getMapElementName()
Returns the name of the element used to represent the map.protected java.lang.String
getValueElementName()
Returns the name of the element used to represent the value of a map entry.org.w3c.dom.Element
marshal(java.util.Map<java.lang.String,DocumentTypeField> map)
java.util.Map<java.lang.String,DocumentTypeField>
unmarshal(org.w3c.dom.Element fields)
-
-
-
Constructor Detail
-
InnerFieldsXmlAdapter
public InnerFieldsXmlAdapter(Marshaller marshaller)
-
InnerFieldsXmlAdapter
public InnerFieldsXmlAdapter(Unmarshaller unmarshaller)
-
-
Method Detail
-
getMapElementName
protected java.lang.String getMapElementName()
Returns the name of the element used to represent the map.- Returns:
- the map element name.
-
getKeyElementName
protected java.lang.String getKeyElementName()
Returns the name of the element used to represent the key of a map entry.- Returns:
- the key element name.
-
getValueElementName
protected java.lang.String getValueElementName()
Returns the name of the element used to represent the value of a map entry.- Returns:
- the value element name.
-
marshal
public org.w3c.dom.Element marshal(java.util.Map<java.lang.String,DocumentTypeField> map) throws java.lang.Exception
- Specified by:
marshal
in classXmlAdapter<org.w3c.dom.Element,java.util.Map<java.lang.String,DocumentTypeField>>
- Throws:
java.lang.Exception
-
unmarshal
public java.util.Map<java.lang.String,DocumentTypeField> unmarshal(org.w3c.dom.Element fields) throws java.lang.Exception
- Specified by:
unmarshal
in classXmlAdapter<org.w3c.dom.Element,java.util.Map<java.lang.String,DocumentTypeField>>
- Throws:
java.lang.Exception
-
-