org.jembi.sdmxhd.csds
Class Group

java.lang.Object
  extended by org.jembi.sdmxhd.csds.Group
All Implemented Interfaces:
XMLWritable

public class Group
extends java.lang.Object
implements XMLWritable

Author:
Ryan Crichton This Object represents a Section in a CDS

Field Summary
 java.lang.String namespace
           
 
Constructor Summary
Group()
           
 
Method Summary
 void addAttribute(java.lang.String attributeName, java.lang.String value)
          Adds a logical attribute to this Group element.
 java.util.Map<java.lang.String,java.lang.String> getAttributes()
           
 java.lang.String getAttributeValue(java.lang.String attribute)
          Gets the specified attribute
 java.util.List<Section> getSections()
           
 void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
           
 void setSections(java.util.List<Section> sections)
           
 void toXML(javax.xml.stream.XMLStreamWriter xmlWriter)
          Converts this Group object to it SDMX-HD XML form.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namespace

public java.lang.String namespace
Constructor Detail

Group

public Group()
Method Detail

addAttribute

public void addAttribute(java.lang.String attributeName,
                         java.lang.String value)
Adds a logical attribute to this Group element.

Parameters:
attributeName -
value -

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String attribute)
Gets the specified attribute

Parameters:
attribute -
Returns:
specified attribute

toXML

public void toXML(javax.xml.stream.XMLStreamWriter xmlWriter)
           throws javax.xml.stream.XMLStreamException,
                  java.lang.IllegalArgumentException,
                  java.lang.IllegalAccessException
Converts this Group object to it SDMX-HD XML form.

Specified by:
toXML in interface XMLWritable
Parameters:
xmlWriter -
Throws:
javax.xml.stream.XMLStreamException
java.lang.IllegalAccessException
java.lang.IllegalArgumentException

getAttributes

public java.util.Map<java.lang.String,java.lang.String> getAttributes()

setAttributes

public void setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)

getSections

public java.util.List<Section> getSections()

setSections

public void setSections(java.util.List<Section> sections)