|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.inria.ketuk.XBLinks
Memorizes the links used to assure a mapping between XML nodes and beans
Field Summary | |
java.util.Hashtable |
_mappingBeanProp
The mapping between beans and the Vector of property names which were set |
Constructor Summary | |
XBLinks()
Default constructor |
Method Summary | |
void |
addMappingBeanProp(java.lang.Object key,
java.lang.String property)
Adds a properties in the list of props associated with the bean |
void |
addMappingProp(java.lang.Object key,
java.lang.String property,
java.lang.String propertyRef)
Adds a pairs propertyName, propertyID to the key bean |
java.lang.String |
getEltIdName()
Returns the name of the attribute used to memorize the unique Identifier of a node |
int |
getEltIdNum()
The number of the last named node |
java.lang.String |
getEltIdPrefix()
Returns the prefix used to name a node |
java.util.Collection |
getMappingBeanProp(java.lang.Object key)
Returns the properties initialized int the bean |
java.lang.Object |
getMappingEltBean(java.lang.String key)
Returns the mapping between the xpath of bean elements in the result DOM tree and the generated object |
java.util.Enumeration |
getMappingEltBeanKeys()
Returns the XPath of the element from the source document mapped with beans |
java.lang.String |
getMappingNodeRef(java.lang.Object key)
Returns the mapping between generated beans, and the 'id' of the corresponding element in the source tree |
java.util.Hashtable |
getMappingProp(java.lang.Object key)
Returns the pairs propertyName, propertyID associated with the bean |
java.lang.String |
getMappingSourceNode(java.lang.String key)
Returns the id into the xslt of the property defined by "sourceNode+propertyName" |
void |
incrementEltIdNum()
Increments the value of the last named node |
void |
putMappingBeanProp(java.lang.Object key,
java.util.Set propList)
Sets the list of properties associated with the bean |
void |
putMappingEltBean(java.lang.String key,
java.lang.Object value)
Adds a new mapping between the xpath of a bean elements in the result DOM tree and a generated object |
void |
putMappingNodeRef(java.lang.Object key,
java.lang.String nodeRef)
Adds a new mapping between a beans, and the 'id' of the corresponding element in the source tree |
void |
putMappingProp(java.lang.Object key,
java.util.Hashtable propTable)
Sets the pairs propertyName, propertyID associated with the bean |
void |
putMappingSourceNode(java.lang.String key,
java.lang.String value)
Adds a mapping between a pair "sourceNode+propertyName" and the 'id' of the property element into the XSL tree |
void |
removeMappingBeanProp(java.lang.Object key,
java.lang.String property)
Removes a properties from the list of props associated with the bean |
void |
removeMappingEltBean(java.lang.String key)
Removes the mapping corresponding to the key |
void |
setEltIdNum(int num)
Sets the value of the last named node |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.util.Hashtable _mappingBeanProp
Constructor Detail |
public XBLinks()
Method Detail |
public java.lang.Object getMappingEltBean(java.lang.String key)
public java.util.Enumeration getMappingEltBeanKeys()
public void putMappingEltBean(java.lang.String key, java.lang.Object value)
public void removeMappingEltBean(java.lang.String key)
public java.lang.String getMappingNodeRef(java.lang.Object key)
public void putMappingNodeRef(java.lang.Object key, java.lang.String nodeRef)
public java.util.Hashtable getMappingProp(java.lang.Object key)
public void putMappingProp(java.lang.Object key, java.util.Hashtable propTable)
public void addMappingProp(java.lang.Object key, java.lang.String property, java.lang.String propertyRef)
public java.util.Collection getMappingBeanProp(java.lang.Object key)
public void putMappingBeanProp(java.lang.Object key, java.util.Set propList)
public void addMappingBeanProp(java.lang.Object key, java.lang.String property)
public void removeMappingBeanProp(java.lang.Object key, java.lang.String property)
public java.lang.String getMappingSourceNode(java.lang.String key)
public void putMappingSourceNode(java.lang.String key, java.lang.String value)
public java.lang.String getEltIdName()
public java.lang.String getEltIdPrefix()
public void setEltIdNum(int num)
public void incrementEltIdNum()
public int getEltIdNum()
The next one will be named <_eltIdPrefix><_eltIdNum>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |