Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

oracle.adf.model.adapter.utils
Class NodeAttributeHelper

java.lang.Object
  extended by oracle.adf.model.adapter.utils.NodeAttributeHelper

public final class NodeAttributeHelper
extends java.lang.Object

Helper class to find value of attributes from an XML Node object.


Constructor Summary
NodeAttributeHelper()
          Creats an empty helper.
NodeAttributeHelper(NamedNodeMap namedMap)
          Creates the object from a NamedNodeMap.
 
Method Summary
 java.lang.String getValue(java.lang.String name)
          Gets the value of the attribute.
 boolean getValueBoolean(java.lang.String name)
          Gets the value of the attribute.
 int getValueInt(java.lang.String name)
          Gets the value of the attribute.
 void setNamedNodeMap(NamedNodeMap namedMap)
          Sets the name node map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeAttributeHelper

public NodeAttributeHelper()
Creats an empty helper.


NodeAttributeHelper

public NodeAttributeHelper(NamedNodeMap namedMap)
Creates the object from a NamedNodeMap.

Method Detail

setNamedNodeMap

public void setNamedNodeMap(NamedNodeMap namedMap)
Sets the name node map.


getValue

public java.lang.String getValue(java.lang.String name)
Gets the value of the attribute.

Parameters:
name - Name of the attribute.
Returns:
The value.

getValueBoolean

public boolean getValueBoolean(java.lang.String name)
Gets the value of the attribute.

Parameters:
name - Name of the attribute.
Returns:
The boolean value.

getValueInt

public int getValueInt(java.lang.String name)
Gets the value of the attribute.

Parameters:
name - Name of the attribute.
Returns:
The integer value.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1)

E10653-04

Copyright © 1997, 2010, Oracle. All rights reserved.