Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.menu.model.raw
Class RawMenuNode

java.lang.Object
  extended by oracle.apps.fnd.applcore.menu.model.raw.RawMenuNode

public class RawMenuNode
extends java.lang.Object

Representation of a raw menu node built on top of a fragment.


Method Summary
 void addChild(RawMenuNode childNode)
          Adds a child menu node to this menu node.
static RawMenuNode createMenuNodeForNode(java.lang.String documentName, Pillar owner, org.w3c.dom.Node node)
          Utility constructor to create menu nodes.
 java.util.Map<java.lang.String,java.lang.String> getAttributes()
          Gets the attributes of this menu node and their values.
 java.util.List<RawMenuNode> getChildren()
          Gets the children on this menu node.
 java.lang.String getCustomizationLayerName()
          Gets the customization layer name of the menu node.
 java.lang.String getDocumentName()
          Gets the name of the document that this menu node belongs to.
 java.lang.String getFocusViewId()
          Gets the focusViewId attribute of the menu node.
 java.lang.String getId()
          Gets the ID attribute of the menu node.
 java.lang.String getNodeType()
          Gets the type of the node.
 java.lang.String getOriginUtilAppName()
          Gts the name of the originating util app for this menu node.
 java.lang.String getPrefForApps()
          Gets the prefForApps attribute of the menu node.
 void printNode(int indent)
          Test API to print out a menu node.
protected  void setDocumentName(java.lang.String documentName)
          Associates this menu node with the originating document name.
protected  void setFragmentNode(org.w3c.dom.Node fragmentNode)
          Associates a DOM node corresponding to a fragment.
protected  void setOriginUtilAppName(java.lang.String name)
          Sets the name of the originating util app for this menu node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setDocumentName

protected void setDocumentName(java.lang.String documentName)
Associates this menu node with the originating document name.

Parameters:
documentName - the name of the document

setFragmentNode

protected void setFragmentNode(org.w3c.dom.Node fragmentNode)
Associates a DOM node corresponding to a fragment.

Parameters:
fragmentNode - the DOM node

setOriginUtilAppName

protected void setOriginUtilAppName(java.lang.String name)
Sets the name of the originating util app for this menu node.

Parameters:
name - the name of the util app

getDocumentName

public java.lang.String getDocumentName()
Gets the name of the document that this menu node belongs to.

Returns:
the name of the document

getOriginUtilAppName

public java.lang.String getOriginUtilAppName()
Gts the name of the originating util app for this menu node.

Returns:
the name of the util app

getChildren

public java.util.List<RawMenuNode> getChildren()
Gets the children on this menu node.

Returns:
the list of children

createMenuNodeForNode

public static final RawMenuNode createMenuNodeForNode(java.lang.String documentName,
                                                      Pillar owner,
                                                      org.w3c.dom.Node node)
Utility constructor to create menu nodes.

Parameters:
documentName - the name of the document
owner - the owning pillar
node - the node
Returns:
the constructed RawMenuNode

addChild

public void addChild(RawMenuNode childNode)
Adds a child menu node to this menu node.

Parameters:
childNode - the child node

getNodeType

public java.lang.String getNodeType()
Gets the type of the node. This should return either "itemNode" or "groupNode" and should never return any other nodes that may exist in menu XML files (such as "menu" or "sharedNode").

Returns:
the node type
See Also:
MenuConstants.ITEMNODE_NODE, MenuConstants.GROUPNODE_NODE

getId

public java.lang.String getId()
Gets the ID attribute of the menu node.

Returns:
the ID attribute

getFocusViewId

public java.lang.String getFocusViewId()
Gets the focusViewId attribute of the menu node.

Returns:
the focusViewId attribute

getPrefForApps

public java.lang.String getPrefForApps()
Gets the prefForApps attribute of the menu node.

Returns:
the prefForApps attribute

getAttributes

public java.util.Map<java.lang.String,java.lang.String> getAttributes()
Gets the attributes of this menu node and their values.

Returns:
the attributes and their values

getCustomizationLayerName

public java.lang.String getCustomizationLayerName()
Gets the customization layer name of the menu node.

Returns:
customization layer name

printNode

public void printNode(int indent)
Test API to print out a menu node.

Parameters:
indent -

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.