jfract V1.0a

org.jfract.beanEditor
Class JBeanXmlDescriptor

java.lang.Object
  |
  +--org.jfract.beanEditor.JBeanXmlDescriptor

public class JBeanXmlDescriptor
extends java.lang.Object

the class used to get the info from xml file desriptor jfract.xml


Field Summary
private static org.apache.log4j.Category log4j_category
           
 
Constructor Summary
JBeanXmlDescriptor()
           
 
Method Summary
static java.lang.String[] getAvalaibleRmiServices(org.w3c.dom.Document doc)
          get the list of avalaible services from the rmiDistrib.xml file
static java.util.Hashtable getBeanList(org.w3c.dom.Document doc)
          get an hashTable containing keys as names of bean and value as code from the xmlDescriptor
static java.util.Hashtable getEditors(org.w3c.dom.Document doc)
          get an hashTable containing keys as names of bean and value as code from the xmlDescriptor
static java.lang.String getHtmlText(java.lang.String beanCode, org.w3c.dom.Document doc)
          get the html string description of the bean
static java.lang.String[] getPublishedFixedMovieParam(java.lang.String beanCode, org.w3c.dom.Document doc)
          get the published property that should not have a variation in the movie
static java.lang.String[] getPublishedMethods(java.lang.String beanCode, org.w3c.dom.Document doc)
          get the published method with the bean code
static java.lang.Object getPublishedMovingDeltaMovieParam(java.lang.String beanCode, org.w3c.dom.Document doc, java.lang.String param, java.lang.Object o1, java.lang.Object o2, int frameNumber)
          get the published property that should have a variation in the movie
static java.lang.String[] getPublishedMovingMovieParam(java.lang.String beanCode, org.w3c.dom.Document doc)
          get the published property that should have a variation in the movie
static java.lang.String[] getPublishedProperties(java.lang.String beanCode, org.w3c.dom.Document doc)
          get the published properties with the bean code
static java.net.URL getURl(java.lang.String beanCode, org.w3c.dom.Document doc)
          get the html url description of the bean
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

log4j_category

private static final org.apache.log4j.Category log4j_category
Constructor Detail

JBeanXmlDescriptor

public JBeanXmlDescriptor()
Method Detail

getBeanList

public static java.util.Hashtable getBeanList(org.w3c.dom.Document doc)
                                       throws WrongXmlDescriptionException
get an hashTable containing keys as names of bean and value as code from the xmlDescriptor

getEditors

public static java.util.Hashtable getEditors(org.w3c.dom.Document doc)
                                      throws WrongXmlDescriptionException
get an hashTable containing keys as names of bean and value as code from the xmlDescriptor

getPublishedProperties

public static java.lang.String[] getPublishedProperties(java.lang.String beanCode,
                                                        org.w3c.dom.Document doc)
get the published properties with the bean code
Parameters:
beanCode - the bean code
jfract - doc the descriptor xml document

getPublishedMethods

public static java.lang.String[] getPublishedMethods(java.lang.String beanCode,
                                                     org.w3c.dom.Document doc)
get the published method with the bean code
Parameters:
beanCode - the bean code
jfract - doc the descriptor xml document

getPublishedMovingDeltaMovieParam

public static java.lang.Object getPublishedMovingDeltaMovieParam(java.lang.String beanCode,
                                                                 org.w3c.dom.Document doc,
                                                                 java.lang.String param,
                                                                 java.lang.Object o1,
                                                                 java.lang.Object o2,
                                                                 int frameNumber)
                                                          throws WrongXmlDescriptionException
get the published property that should have a variation in the movie
Parameters:
beanCode - the bean code
jfract - doc the descriptor xml document

getPublishedFixedMovieParam

public static java.lang.String[] getPublishedFixedMovieParam(java.lang.String beanCode,
                                                             org.w3c.dom.Document doc)
get the published property that should not have a variation in the movie
Parameters:
beanCode - the bean code
jfract - doc the descriptor xml document

getPublishedMovingMovieParam

public static java.lang.String[] getPublishedMovingMovieParam(java.lang.String beanCode,
                                                              org.w3c.dom.Document doc)
get the published property that should have a variation in the movie
Parameters:
beanCode - the bean code
jfract - doc the descriptor xml document

getHtmlText

public static java.lang.String getHtmlText(java.lang.String beanCode,
                                           org.w3c.dom.Document doc)
                                    throws java.io.IOException
get the html string description of the bean
Parameters:
beanCode - the bean code
jfract - doc the descriptor xml document

getURl

public static java.net.URL getURl(java.lang.String beanCode,
                                  org.w3c.dom.Document doc)
                           throws java.io.IOException
get the html url description of the bean
Parameters:
beanCode - the bean code
jfract - doc the descriptor xml document

getAvalaibleRmiServices

public static java.lang.String[] getAvalaibleRmiServices(org.w3c.dom.Document doc)
get the list of avalaible services from the rmiDistrib.xml file
Returns:
an array of String as //host/rmiBindingName

jfract V1.0a

Generee le 27.09.2002 08:21:59 PM