com.openindex.openestate.impl.attribs
Class ComplexEnumAttrib

java.lang.Object
  extended by com.openindex.openestate.impl.OpenEstateAttrib
      extended by com.openindex.openestate.impl.attribs.ComplexAttrib
          extended by com.openindex.openestate.impl.attribs.ComplexEnumAttrib

public class ComplexEnumAttrib
extends ComplexAttrib

mehrfach belegbares Aufzählungs-Attribut.
$Id: ComplexEnumAttrib.java 1818 2012-10-08 17:18:43Z andy $

Author:
Andreas Rudolph

Constructor Summary
ComplexEnumAttrib(String group, String name, String[] options, String[] countries)
           
 
Method Summary
 ValueImpl createValue(Object val)
           
 Object getDefaultValue()
           
 String[] getOptions()
           
 String[] parseNode(org.dom4j.Node node)
           
 void serializeNode(org.dom4j.Element node, Object value)
           
 
Methods inherited from class com.openindex.openestate.impl.attribs.ComplexAttrib
isComplex
 
Methods inherited from class com.openindex.openestate.impl.OpenEstateAttrib
createValue, getCountries, getGroup, getKey, getName, isCountrySpecific, isCountrySupported, isManuallyTranslated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexEnumAttrib

public ComplexEnumAttrib(String group,
                         String name,
                         String[] options,
                         String[] countries)
Method Detail

createValue

public ValueImpl createValue(Object val)
Specified by:
createValue in class OpenEstateAttrib

getOptions

public String[] getOptions()

getDefaultValue

public Object getDefaultValue()
Specified by:
getDefaultValue in class OpenEstateAttrib

serializeNode

public void serializeNode(org.dom4j.Element node,
                          Object value)
Specified by:
serializeNode in class ComplexAttrib

parseNode

public String[] parseNode(org.dom4j.Node node)
                   throws ParseException
Specified by:
parseNode in class ComplexAttrib
Throws:
ParseException


Copyright © 2012 OpenEstate. All Rights Reserved.