|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NavigationNode
The NavigationNode interface exposes the document structure.
The NavigationMap of the entire document is a tree of NavigationNode.
The root level contains the reports, all lower levels are associated to
sections and sub sections. This model is exposed as a tree.
Example:Retrieve the NavigationNode
RetrieveNavigationMap objRetrieveNavigationMap = RetrieveNavigationMap.Factory.newInstance();
RetrieveData retBOData = RetrieveData.Factory.newInstance();
retBOData.setRetrieveNavigationMap(objRetrieveNavigationMap);
DocumentInformation boDocInfo = boRepEng.getDocumentInformation( strDocid, null, null, null, retBOData);
NavigationNode[] objNavigationNodes = boDocInfo.getNavigationMapArray();
for(int i=0;i<objNavigationNodes.length;i++)
{
NavigationNode objNavigationNode = objNavigationNodes[i];
String strName=objNavigationNode.getName();
out.print(strName);
}
com.businessobjects.dsws.reportengine.DocumentInformation#getNavigationMap(),
Navigate,
NavigateToDataProvider,
NavigateToFirstPage,
NavigateToLastPage,
NavigateToPage,
NavigateToPath,
NavigationNode,
ReportEngine,
BinaryView,
XMLView,
ViewSupport,
ViewModeType,
RetrieveData,
RetrieveView,
OutputFormatType,
DocumentInformation| Nested Class Summary | |
|---|---|
static class |
NavigationNode.Factory
A class with methods for creating instances of the NavigationNode type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
NavigationNode |
addNewChildren()
Internal Use Only. |
NavigationNode[] |
getChildrenArray()
Returns the child NavigationNode tree of the current node. |
NavigationNode |
getChildrenArray(int i)
Returns a specific child NavigationNode. |
java.lang.String |
getClientPath()
Returns the client path of the current node represented as an HTML Anchor. |
java.lang.String |
getDescription()
Returns a description of the current node. |
boolean |
getLeaf()
Returns true if the current node has no child nodes. |
int |
getLevel()
Returns the level of the current node in the navigation tree. |
java.lang.String |
getName()
Returns the name of the current node. |
java.lang.String |
getPath()
Returns the path of the current node. |
NavigationNode |
insertNewChildren(int i)
Internal Use Only. |
boolean |
isNilChildrenArray(int i)
Checks if the Children element is nil at the specified index position. |
boolean |
isNilDescription()
Checks if the Description element is nil. |
boolean |
isSetClientPath()
Checks if the ClientPath attribute is set. |
boolean |
isSetDescription()
Checks if the Description element is set. |
boolean |
isSetPath()
Checks if the Path attribute is set. |
void |
removeChildren(int i)
Internal Use Only. |
void |
setChildrenArray(int i,
NavigationNode children)
Internal Use Only. |
void |
setChildrenArray(NavigationNode[] childrenArray)
Internal Use Only. |
void |
setClientPath(java.lang.String clientPath)
p>Internal Use Only. |
void |
setDescription(java.lang.String description)
Internal Use Only. |
void |
setLeaf(boolean leaf)
Internal Use Only. |
void |
setLevel(int level)
Internal Use Only. |
void |
setName(java.lang.String name)
Internal Use Only. |
void |
setNilChildrenArray(int i)
Internal Use Only. |
void |
setNilDescription()
Internal Use Only. |
void |
setPath(java.lang.String path)
Sets the path of the navigation node. |
int |
sizeOfChildrenArray()
Returns the size of the Children array. |
void |
unsetClientPath()
Internal Use Only. |
void |
unsetDescription()
Internal Use Only. |
void |
unsetPath()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetClientPath()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetDescription()
Internal Use Only. |
org.apache.xmlbeans.XmlBoolean |
xgetLeaf()
Internal Use Only. |
org.apache.xmlbeans.XmlInt |
xgetLevel()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetName()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetPath()
Internal Use Only. |
void |
xsetClientPath(org.apache.xmlbeans.XmlString clientPath)
Internal Use Only. |
void |
xsetDescription(org.apache.xmlbeans.XmlString description)
Internal Use Only. |
void |
xsetLeaf(org.apache.xmlbeans.XmlBoolean leaf)
Internal Use Only. |
void |
xsetLevel(org.apache.xmlbeans.XmlInt level)
Internal Use Only. |
void |
xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only. |
void |
xsetPath(org.apache.xmlbeans.XmlString path)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
NavigationNode[] getChildrenArray()
NavigationNode getChildrenArray(int i)
i - The index of the NavigationNode to be retrieved.
boolean isNilChildrenArray(int i)
i - the index of the Children element
true if the Children element is nil, otherwise falseint sizeOfChildrenArray()
void setChildrenArray(NavigationNode[] childrenArray)
Internal Use Only.
void setChildrenArray(int i,
NavigationNode children)
Internal Use Only.
void setNilChildrenArray(int i)
Internal Use Only.
NavigationNode insertNewChildren(int i)
Internal Use Only.
NavigationNode addNewChildren()
Internal Use Only.
void removeChildren(int i)
Internal Use Only.
java.lang.String getDescription()
org.apache.xmlbeans.XmlString xgetDescription()
Internal Use Only.
boolean isNilDescription()
true if the Description element is nil, otherwise falseboolean isSetDescription()
true if the Description element is set, otherwise falsevoid setDescription(java.lang.String description)
Internal Use Only.
void xsetDescription(org.apache.xmlbeans.XmlString description)
Internal Use Only.
void setNilDescription()
Internal Use Only.
void unsetDescription()
Internal Use Only.
java.lang.String getName()
org.apache.xmlbeans.XmlString xgetName()
Internal Use Only.
void setName(java.lang.String name)
Internal Use Only.
void xsetName(org.apache.xmlbeans.XmlString name)
Internal Use Only.
java.lang.String getPath()
org.apache.xmlbeans.XmlString xgetPath()
Internal Use Only.
boolean isSetPath()
true if the Path element is set, otherwise falsevoid setPath(java.lang.String path)
path - the Path attributevoid xsetPath(org.apache.xmlbeans.XmlString path)
Internal Use Only.
void unsetPath()
Internal Use Only.
java.lang.String getClientPath()
org.apache.xmlbeans.XmlString xgetClientPath()
Internal Use Only.
boolean isSetClientPath()
true if the ClientPath element is nil, otherwise falsevoid setClientPath(java.lang.String clientPath)
void xsetClientPath(org.apache.xmlbeans.XmlString clientPath)
Internal Use Only.
void unsetClientPath()
Internal Use Only.
int getLevel()
org.apache.xmlbeans.XmlInt xgetLevel()
Internal Use Only.
void setLevel(int level)
Internal Use Only.
void xsetLevel(org.apache.xmlbeans.XmlInt level)
Internal Use Only.
boolean getLeaf()
true if the current node has no child nodes.
true if the current node has no child nodes.org.apache.xmlbeans.XmlBoolean xgetLeaf()
Internal Use Only.
void setLeaf(boolean leaf)
Internal Use Only.
void xsetLeaf(org.apache.xmlbeans.XmlBoolean leaf)
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||