org.noos.xing.mydoggy.plaf.persistence.xml
Class XMLPersistenceNode

java.lang.Object
  extended by org.noos.xing.mydoggy.plaf.persistence.xml.XMLPersistenceNode
All Implemented Interfaces:
org.noos.xing.mydoggy.PersistenceDelegateCallback.PersistenceNode

public class XMLPersistenceNode
extends Object
implements org.noos.xing.mydoggy.PersistenceDelegateCallback.PersistenceNode

Author:
Angelo De Caro (angelo.decaro@gmail.com)

Field Summary
protected  Element element
           
 
Constructor Summary
XMLPersistenceNode()
           
XMLPersistenceNode(Element element)
           
 
Method Summary
 boolean containsAttribute(String name)
           
 String getAttributeValue(String name)
           
 boolean getBoolean(String name, boolean defaultValue)
           
 Element getElement()
           
 float getFloat(String name, float defaultValue)
           
 int getInteger(String name, int defaultValue)
           
 String getName()
           
 XMLPersistenceNode setElement(Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

element

protected Element element
Constructor Detail

XMLPersistenceNode

public XMLPersistenceNode()

XMLPersistenceNode

public XMLPersistenceNode(Element element)
Method Detail

getName

public String getName()
Specified by:
getName in interface org.noos.xing.mydoggy.PersistenceDelegateCallback.PersistenceNode

containsAttribute

public boolean containsAttribute(String name)
Specified by:
containsAttribute in interface org.noos.xing.mydoggy.PersistenceDelegateCallback.PersistenceNode

getAttributeValue

public String getAttributeValue(String name)
Specified by:
getAttributeValue in interface org.noos.xing.mydoggy.PersistenceDelegateCallback.PersistenceNode

getBoolean

public boolean getBoolean(String name,
                          boolean defaultValue)
Specified by:
getBoolean in interface org.noos.xing.mydoggy.PersistenceDelegateCallback.PersistenceNode

getInteger

public int getInteger(String name,
                      int defaultValue)
Specified by:
getInteger in interface org.noos.xing.mydoggy.PersistenceDelegateCallback.PersistenceNode

getFloat

public float getFloat(String name,
                      float defaultValue)
Specified by:
getFloat in interface org.noos.xing.mydoggy.PersistenceDelegateCallback.PersistenceNode

getElement

public Element getElement()

setElement

public XMLPersistenceNode setElement(Element element)


Copyright © 2012. All Rights Reserved.