C D G H I M N O R S T U V X

C

ClassToDtd - class org.xeril.xml.ClassToDtd.
This class is used to produce a DTD from a class
classToDtd(Class, PrintWriter) - Static method in class org.xeril.xml.ClassToDtd
Displays the Dtd corresponding to the class.
ClassToDtd(PrintWriter) - Constructor for class org.xeril.xml.ClassToDtd
Constructor.

D

dec() - Method in class org.xeril.xml.Indent
Decrements the level of indentation
displayArray(Class, String, XmlMapper) - Method in class org.xeril.xml.ClassToDtd
Displays an array.
displayArray(Object, Class, Indent, XmlMapDescriptor, String) - Method in class org.xeril.xml.ObjectToXml
Displays the value provided.
displayClass(Class) - Method in class org.xeril.xml.ClassToDtd
Displays the Dtd for the class.
displayDtd(Class) - Method in class org.xeril.xml.ClassToDtd
Displays the Dtd for the class.
displayField(Class, String, XmlMapDescriptor) - Method in class org.xeril.xml.ClassToDtd
Displays a field.
displayField(Object, Class, Indent, XmlMapDescriptor, String) - Method in class org.xeril.xml.ObjectToXml
Displays a field.
displayObject(Object) - Method in class org.xeril.xml.ObjectToXml
Displays an object in XML format.
displayObject(Object, Class, Indent) - Method in class org.xeril.xml.ObjectToXml
Displays an object in XML format.
displayValue(Class, String, XmlMapper) - Method in class org.xeril.xml.ClassToDtd
Displays a value.
displayValue(Object, Class, Indent, XmlMapDescriptor) - Method in class org.xeril.xml.ObjectToXml
Displays the value provided.
displayValue(Object, Class, Indent, XmlMapper) - Method in class org.xeril.xml.ObjectToXml
Displays the value provided.

G

getArray(Node, Class, XmlMapDescriptor) - Method in class org.xeril.xml.XmlToObject
Gets the array from the node.
getArray(NodeList, Class, XmlMapper) - Method in class org.xeril.xml.XmlToObject
Gets the array from the node.
getFieldName() - Method in class org.xeril.xml.XmlMapDescriptor
Access function
getIndentation() - Method in class org.xeril.xml.Indent
Returns the indentation depending on the level.
getIndentString() - Method in class org.xeril.xml.Indent
Access function.
getIndexedMapper() - Method in class org.xeril.xml.XmlMapDescriptor
Access function.
getLevel() - Method in class org.xeril.xml.Indent
Access function.
getMappedValue(Node, XmlMapper) - Method in class org.xeril.xml.XmlToObject
Gets the value from the node.
getMapper() - Method in class org.xeril.xml.XmlMapDescriptor
Access function.
getNodeValue(Node, Class, XmlMapper) - Method in class org.xeril.xml.XmlToObject
Gets the value from the node.
getObject(InputStream, Class) - Method in class org.xeril.xml.XmlToObject
From an xml input stream, tries to create the corresponding object.
getObject(Node, Class) - Method in class org.xeril.xml.XmlToObject
Creates the object.
getRootCause() - Method in class org.xeril.xml.XmlToObjectException
Returns the root cause
getTagNameFromClass(Class) - Method in class org.xeril.xml.ClassToDtd
Gets the tag name from the class.
getValue(Node, Class, XmlMapper) - Method in class org.xeril.xml.XmlToObject
Gets the value from the node.
getValue(String, Class, XmlMapper) - Method in class org.xeril.xml.XmlToObject
Gets the value from the string value.
getVersion() - Static method in class org.xeril.xml.Version
 
getXmlInfo(Class) - Static method in class org.xeril.xml.XmlUtil
From a class c, tries to get an XmlInfo class, instantiates it and returns it.
getXmlMapDescriptor(String, XmlInfo) - Method in class org.xeril.xml.XmlToObject
Tries to extract the map descriptor from the xml name and info object.
getXmlMapDescriptor(String, XmlInfo) - Method in class org.xeril.xml.ObjectToXml
Tries to extract the map descriptor the field_name and info object.
getXmlMapDescriptor(String, XmlInfo) - Method in class org.xeril.xml.ClassToDtd
Tries to extract the map descriptor the field_name and info object.
getXmlMapDescriptors() - Method in class org.xeril.xml.SimpleXmlInfo
You can associate a map descriptor with each field of your object.
getXmlMapDescriptors() - Method in interface org.xeril.xml.XmlInfo
You can associate a map descriptor with each field of your object.
getXmlName() - Method in class org.xeril.xml.SimpleXmlInfo
Returns the xml name that will be used.
getXmlName() - Method in interface org.xeril.xml.XmlInfo
Returns the xml name that will be used.
getXmlName() - Method in class org.xeril.xml.XmlMapDescriptor
Access function

H

hide() - Method in class org.xeril.xml.XmlMapDescriptor
Hides this field
hide(String) - Static method in class org.xeril.xml.SimpleXmlInfo
This is a convenient method that returns and XmlMapDescriptor which simply hides the element.

I

inc() - Method in class org.xeril.xml.Indent
Increments the level of indentation
Indent - class org.xeril.xml.Indent.
This class encapsulates the notion of indentation.
Indent() - Constructor for class org.xeril.xml.Indent
Constructor.
Indent(int) - Constructor for class org.xeril.xml.Indent
Constructor.
Indent(String) - Constructor for class org.xeril.xml.Indent
Constructor.
Indent(String, int) - Constructor for class org.xeril.xml.Indent
Constructor.
indentBlock(String, Indent) - Static method in class org.xeril.xml.Indent
Indents a block of text.
isHidden() - Method in class org.xeril.xml.XmlMapDescriptor
Access function.

M

main(String[]) - Static method in class org.xeril.xml.XmlToObject
 
main(String[]) - Static method in class org.xeril.xml.Version
 
main(String[]) - Static method in class org.xeril.xml.ClassToDtd
Main method...
map(Object) - Method in class org.xeril.xml.XmlMapperURL
Maps an object to its XML representation (which is a String)
map(Object) - Method in class org.xeril.xml.XmlMapperFile
Maps an object to its XML representation (which is a String)
map(Object) - Method in class org.xeril.xml.XmlMapperDateTime
Maps an object to its XML representation (which is a String)
map(Object) - Method in class org.xeril.xml.XmlMapperDate
Maps an object to its XML representation (which is a String)
map(Object) - Method in class org.xeril.xml.XmlMapperClass
Maps an object to its XML representation (which is a String)
map(Object) - Method in interface org.xeril.xml.XmlMapper
Maps an object to its XML representation (which is a String)

N

NULL_TAG - Static variable in class org.xeril.xml.ObjectToXml
The constant for null objects
NULL_TAG - Static variable in class org.xeril.xml.ClassToDtd
The constant for null objects

O

ObjectToXml - class org.xeril.xml.ObjectToXml.
This class is used to display an object in XML
objectToXml(Object, PrintWriter) - Static method in class org.xeril.xml.ObjectToXml
Displays an object in XML format.
ObjectToXml(PrintWriter) - Constructor for class org.xeril.xml.ObjectToXml
Constructor.
org.xeril.xml - package org.xeril.xml
 

R

rename(String, String) - Static method in class org.xeril.xml.SimpleXmlInfo
This is a convenient method that returns and XmlMapDescriptor which simply renames the element.

S

setField(Object, Node, XmlInfo) - Method in class org.xeril.xml.XmlToObject
Sets the field from the node.
setIndentString(String) - Method in class org.xeril.xml.Indent
Access function.
setIndexedMapper(String, String, XmlMapper) - Static method in class org.xeril.xml.SimpleXmlInfo
This is a convenient method that returns and XmlMapDescriptor which sets an indexed mapper and rename
setIndexedMapper(String, XmlMapper) - Static method in class org.xeril.xml.SimpleXmlInfo
This is a convenient method that returns and XmlMapDescriptor which sets an indexed mapper.
setIndexedMapper(XmlMapper) - Method in class org.xeril.xml.XmlMapDescriptor
Access function.
setLevel(int) - Method in class org.xeril.xml.Indent
Access function.
setMapper(String, String, XmlMapper) - Static method in class org.xeril.xml.SimpleXmlInfo
This is a convenient method that returns and XmlMapDescriptor which sets a mapper and rename
setMapper(String, XmlMapper) - Static method in class org.xeril.xml.SimpleXmlInfo
This is a convenient method that returns and XmlMapDescriptor which sets a mapper.
setMapper(XmlMapper) - Method in class org.xeril.xml.XmlMapDescriptor
Access function.
setXmlName(String) - Method in class org.xeril.xml.XmlMapDescriptor
Access function.
show() - Method in class org.xeril.xml.XmlMapDescriptor
Shows this field
SimpleXmlInfo - class org.xeril.xml.SimpleXmlInfo.
This class simply implements the XmlInfo by providing some default values.
SimpleXmlInfo() - Constructor for class org.xeril.xml.SimpleXmlInfo
 

T

toString() - Method in class org.xeril.xml.Indent
Convenient method : returns the indentation depending on the level.

U

unmap(String) - Method in class org.xeril.xml.XmlMapperURL
Unmaps an object from its XML representation.
unmap(String) - Method in class org.xeril.xml.XmlMapperFile
Unmaps an object from its XML representation.
unmap(String) - Method in class org.xeril.xml.XmlMapperDateTime
Unmaps an object from its XML representation.
unmap(String) - Method in class org.xeril.xml.XmlMapperDate
Unmaps an object from its XML representation.
unmap(String) - Method in class org.xeril.xml.XmlMapperClass
Unmaps an object from its XML representation.
unmap(String) - Method in interface org.xeril.xml.XmlMapper
Unmaps an object from its XML representation.

V

Version - class org.xeril.xml.Version.
The purpose of this class is to return the version found in the manifest package.
Version() - Constructor for class org.xeril.xml.Version
 

X

XmlInfo - interface org.xeril.xml.XmlInfo.
This interface is the equivalent of BeanInfo but for XML.
xmlizeString(String) - Method in class org.xeril.xml.ObjectToXml
Returns a string which is clean for XML.
XmlMapDescriptor - class org.xeril.xml.XmlMapDescriptor.
This class holds the information for mapping a java field to an XML tag, and also to a type if necessary.
XmlMapDescriptor(String) - Constructor for class org.xeril.xml.XmlMapDescriptor
Builds a map descriptor by providing the field name.
XmlMapDescriptor(String, String) - Constructor for class org.xeril.xml.XmlMapDescriptor
Builds a map descriptor by providing the field name and the xml name
XmlMapper - interface org.xeril.xml.XmlMapper.
This interface is the one that needs to be implemented for allowing mapping and unmmapping of Objects between Java and XML.
XmlMapperClass - class org.xeril.xml.XmlMapperClass.
This class is the implementation of the XmlMapper interface for a Class object.
XmlMapperClass() - Constructor for class org.xeril.xml.XmlMapperClass
 
XmlMapperDate - class org.xeril.xml.XmlMapperDate.
This class is the implementation of the XmlMapper interface for a Date object.
XmlMapperDate() - Constructor for class org.xeril.xml.XmlMapperDate
 
XmlMapperDateTime - class org.xeril.xml.XmlMapperDateTime.
This class is the implementation of the XmlMapper interface for a Date/Time object.
XmlMapperDateTime() - Constructor for class org.xeril.xml.XmlMapperDateTime
 
XmlMapperException - exception org.xeril.xml.XmlMapperException.
This exception is raised when there is a problem in the mapping process
XmlMapperException(String) - Constructor for class org.xeril.xml.XmlMapperException
Constructs an XmlMapperException with the specified detail message.
XmlMapperFile - class org.xeril.xml.XmlMapperFile.
This class is the implementation of the XmlMapper interface for a File object.
XmlMapperFile() - Constructor for class org.xeril.xml.XmlMapperFile
 
XmlMapperURL - class org.xeril.xml.XmlMapperURL.
This class is the implementation of the XmlMapper interface for a URL object.
XmlMapperURL() - Constructor for class org.xeril.xml.XmlMapperURL
 
XmlToObject - class org.xeril.xml.XmlToObject.
This class is used to generate an object from XML
XmlToObject() - Constructor for class org.xeril.xml.XmlToObject
Constructor.
XmlToObject(boolean) - Constructor for class org.xeril.xml.XmlToObject
Constructor.
xmlToObject(InputStream, Class) - Static method in class org.xeril.xml.XmlToObject
From an xml stream, tries to create the corresponding object.
xmlToObject(String, Class) - Static method in class org.xeril.xml.XmlToObject
From an xml file, tries to create the corresponding object.
XmlToObjectException - exception org.xeril.xml.XmlToObjectException.
This exception is raised when there is a problem in the mapping process
XmlToObjectException(Exception) - Constructor for class org.xeril.xml.XmlToObjectException
Constructs an XmlToObjectException with the specified root cause
XmlToObjectException(String) - Constructor for class org.xeril.xml.XmlToObjectException
Constructs an XmlToObjectException with the specified detail message.
XmlToObjectException(String, Exception) - Constructor for class org.xeril.xml.XmlToObjectException
Constructs an XmlToObjectException with the specified root cause and message
XmlUtil - class org.xeril.xml.XmlUtil.
This class holds utility functions for Xml

C D G H I M N O R S T U V X