|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.palo.api.impl.xml.BaseXMLHandler
org.palo.api.ext.favoriteviews.impl.FavoriteViewXMLHandler
public class FavoriteViewXMLHandler
FavoriteViewXMLHandler
Parses a given XML file representing favorite views and translates it into a
tree consisting of FavoriteViewsFolder
and
FavoriteView
objects.
Constructor Summary | |
---|---|
FavoriteViewXMLHandler(Connection connection)
The constructor adds the handlers for the XML structure. |
Method Summary | |
---|---|
CubeView |
findCubeViewById(Connection connection,
java.lang.String dbId,
java.lang.String cubeId,
java.lang.String viewId)
This method is used to find a CubeView object in the
set of currently active databases and connections. |
FavoriteViewTreeNode |
getRoot()
Returns the root of the generated tree. |
Methods inherited from class org.palo.api.impl.xml.BaseXMLHandler |
---|
endElement, putEndHandler, putStartHandler, startElement |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FavoriteViewXMLHandler(Connection connection)
connection
- the Connection
from which this xml file
is read.Method Detail |
---|
public FavoriteViewTreeNode getRoot()
public CubeView findCubeViewById(Connection connection, java.lang.String dbId, java.lang.String cubeId, java.lang.String viewId)
CubeView
object in the
set of currently active databases and connections. To identify the
specific view, the server name, service name, user name, database id,
cube id and cube view id are used.
connection
- the connection of the current user.dbId
- the unique database id belonging to the view in question.cubeId
- the cube id belongig to the view in question.viewId
- the cube view id belonging to the view in question.
CubeView
object representing the specified
strings, or null if no matching CubeView
could be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |