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 javax.xml.bind.annotation.adapters.XmlAdapter<org.w3c.dom.Element,java.util.Map<java.lang.String,DocumentTypeField>>
XmlAdapter
forCompositeDocumentTypeField.innerFields
.- Since:
- 15.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description InnerFieldsXmlAdapter(javax.xml.bind.Marshaller marshaller)
InnerFieldsXmlAdapter(javax.xml.bind.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)
-
-
-
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 classjavax.xml.bind.annotation.adapters.XmlAdapter<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 classjavax.xml.bind.annotation.adapters.XmlAdapter<org.w3c.dom.Element,java.util.Map<java.lang.String,DocumentTypeField>>
- Throws:
java.lang.Exception
-
-