Skip navigation links
A B C D E F G H L N O P R S T V W X 

A

addAttribute(String, String) - Method in class org.formix.dsx.XmlElement
Deprecated.
This method is deprecated. Use setAttribute method instead.
addCDATA(String) - Method in class org.formix.dsx.XmlElement
Adds a new XmlCDATA text to the current XmlElement.
addChild(XmlContent) - Method in class org.formix.dsx.XmlElement
Adds the given XmlContent to the current to the current XmlElement instance.
addComment(String) - Method in class org.formix.dsx.XmlElement
Adds a new XmlComment to the current XmlElement.
addDeserializationListener(SerializationEventListener) - Method in class org.formix.dsx.serialization.XmlSerializer
Add a new deserialization listener.
addElement(String) - Method in class org.formix.dsx.XmlElement
Adds a new XmlElement to the current XmlElement.
addText(String) - Method in class org.formix.dsx.XmlElement
Adds a new XmlText content to the current XmlElement.
afterDeserialisation(SerializationEvent) - Method in interface org.formix.dsx.serialization.SerializationEventListener
Event called after the deserialization occurs.
append(String) - Method in class org.formix.dsx.XmlText
Appends a string to the current text.

B

beforeDeserialisation(SerializationEvent) - Method in interface org.formix.dsx.serialization.SerializationEventListener
Event called before the deserialization occurs.
Body<T> - Class in org.formix.dsx.soap
The body of an SOAP envelope.
Body() - Constructor for class org.formix.dsx.soap.Body
Instanciate a SOAP body instance.
Body(T) - Constructor for class org.formix.dsx.soap.Body
Instanciate a body with the given content.
buildXml(Object) - Method in class org.formix.dsx.builders.XmlBuilder
Builds the XML tree with the given object.

C

cdataCreated(XmlCDATA) - Method in class org.formix.dsx.XmlContentAdapter
 
cdataCreated(XmlCDATA) - Method in interface org.formix.dsx.XmlContentListener
Called after an XmlCDATA content is created.
cleanUp() - Method in class org.formix.dsx.XmlDocument
Removes any XmlText in XmlElements that contains white spaces only.
commentCreated(XmlComment) - Method in class org.formix.dsx.XmlContentAdapter
 
commentCreated(XmlComment) - Method in interface org.formix.dsx.XmlContentListener
Called after an XmlComment content is created.
create(String) - Static method in class org.formix.dsx.XmlElement
Creates a new XmlElement.
createParentMap(XmlElement) - Static method in class org.formix.dsx.XmlDocument
Creates a map between any XmlContent and it's parent XmlElement.
createParentMap() - Method in class org.formix.dsx.XmlDocument
Creates a map between any XmlContent and it's parent XmlElement.

D

deepEquals(XmlElement) - Method in class org.formix.dsx.XmlElement
Compare the actual XmlElement along whit it's childs.
deserialize(XmlElement) - Method in class org.formix.dsx.serialization.XmlSerializer
Deserialize the given XML into an object.
deserialize(XmlElement, Class<T>) - Method in class org.formix.dsx.serialization.XmlSerializer
Deserialize an XML tree into the given type.

E

elementCreated(XmlElement) - Method in class org.formix.dsx.XmlContentAdapter
 
elementCreated(XmlElement) - Method in interface org.formix.dsx.XmlContentListener
Called after an XmlElement content is created.
Envelope<T> - Class in org.formix.dsx.soap
Defines a SOAP Envelope.
Envelope() - Constructor for class org.formix.dsx.soap.Envelope
Instanciate an envelope instance.
Environment - Class in org.formix.dsx.utils
Defines environment variables.
equals(Object) - Method in class org.formix.dsx.XmlDocument
 
equals(Object) - Method in class org.formix.dsx.XmlElement
Two XmlElements are equals if they have the same name, the same number of attributes and all those attributes contains the same values.
equals(Object) - Method in class org.formix.dsx.XmlText
 
exists(String) - Method in class org.formix.dsx.XmlNavigator
Tells if a given path is valid or not.

F

format() - Method in class org.formix.dsx.XmlDocument
Formats the current document using the default line separator for the current system and two white spaces as indentation.
format(String, String) - Method in class org.formix.dsx.XmlDocument
Format the XmlDocument using eol to change lines and indent to indent embedded XmlElements.
formatDate(Date) - Method in class org.formix.dsx.serialization.XmlSerializer
Format a date to the desired format.

G

getAttribute(String) - Method in class org.formix.dsx.XmlElement
Gets the named attribute value.
getAttributes() - Method in class org.formix.dsx.XmlElement
Gets the attribute map of the current XmlElement.
getBody() - Method in class org.formix.dsx.soap.Envelope
Gets the body of the SOAP message.
getBodyContent() - Method in class org.formix.dsx.soap.Envelope
Gets the content of the body.
getChild(int) - Method in class org.formix.dsx.XmlElement
Gets the child XmlContent at the given index of the current XmlElement.
getChilds() - Method in class org.formix.dsx.XmlElement
Gets this XmlContent instance child list.
getClassResolutionPackages() - Method in class org.formix.dsx.serialization.XmlSerializer
Returns the list of packages to loop into when deserializing an object and trying to instanciate a type with a simple class name.
getCollectionMap() - Method in class org.formix.dsx.serialization.XmlSerializer
Returns a map between interfaces and class implementations for any collection types.
getContent() - Method in class org.formix.dsx.soap.Body
Gets the content of the body.
getDeserializationListeners() - Method in class org.formix.dsx.serialization.XmlSerializer
Gets deserialization listeners.
getDocumentType() - Method in class org.formix.dsx.XmlDocument
Gets the XmlDocumentType.
getElement() - Method in class org.formix.dsx.serialization.SerializationEvent
Gets the XmlElement of the current event.
getElement(String) - Method in class org.formix.dsx.XmlElement
Return the first occurence of the named child XmlElement.
getElement(String, int) - Method in class org.formix.dsx.XmlElement
Gets the named child element at the given index.
getElement(String) - Method in class org.formix.dsx.XmlNavigator
Gets the first XmlElement found at the given path.
getElements(String) - Method in class org.formix.dsx.XmlElement
Returns all child XmlElement having the given name.
getElements() - Method in class org.formix.dsx.XmlElement
Gets a list of all XmlElement children.
getElements(String) - Method in class org.formix.dsx.XmlNavigator
Return all elements that corresponds to the last element name in the given path.
getHeader() - Method in class org.formix.dsx.soap.Envelope
Gets the header of the SOAP message.
getId() - Method in interface org.formix.dsx.XmlContent
Gets the Id of the current node.
getId() - Method in class org.formix.dsx.XmlElement
 
getId() - Method in class org.formix.dsx.XmlText
 
getName() - Method in class org.formix.dsx.XmlElement
Gets the name of the current XmlElement.
getNameSpaces() - Method in class org.formix.dsx.builders.XmlBuilder
Gets namespace reference entries.
getRoot() - Method in class org.formix.dsx.XmlNavigator
Gets the root element.
getTarget() - Method in class org.formix.dsx.serialization.SerializationEvent
Gets the taget of the current event.
getText(String) - Method in class org.formix.dsx.XmlNavigator
Gets the concatenated text of all children of the element targeted by the given path.
getText() - Method in class org.formix.dsx.XmlText
Gets the text value.
getValue(String) - Method in class org.formix.dsx.XmlElement
Concatenate all child's XmlContent.toString() trimmed and separated by a single space of the named XmlElement.

H

hasAttribute(String) - Method in class org.formix.dsx.XmlElement
Tells if the given attribute name exists in the current XmlElement.
hashCode() - Method in class org.formix.dsx.XmlElement
 
hashCode() - Method in class org.formix.dsx.XmlText
 
Header - Interface in org.formix.dsx.soap
Interface used to define a SOAP header.

L

load(File) - Method in class org.formix.dsx.XmlDocument
Loads the XmlDocument from the specified source file.
load(Reader) - Method in class org.formix.dsx.XmlDocument
Loads the XmlDocument from the specified reader.
load(Reader, XmlContentListener) - Method in class org.formix.dsx.XmlDocument
Creates a document using the specified reader and XmlContentListener.

N

NEWLINE - Static variable in class org.formix.dsx.utils.Environment
The new line character(s) for the current system.
nextId() - Static method in class org.formix.dsx.utils.SUID
Creates a unique 64 bits ID by aggregating the current time in milliseconds since epoch (Jan.

O

onAfterDeserialization(SerializationEvent) - Method in class org.formix.dsx.serialization.XmlSerializer
Method called to fire the afterDeserialization events.
onBeforeDeserialization(SerializationEvent) - Method in class org.formix.dsx.serialization.XmlSerializer
Method called to fire the beforeDeserialization events.
org.formix.dsx - package org.formix.dsx
 
org.formix.dsx.builders - package org.formix.dsx.builders
 
org.formix.dsx.serialization - package org.formix.dsx.serialization
 
org.formix.dsx.soap - package org.formix.dsx.soap
 
org.formix.dsx.utils - package org.formix.dsx.utils
 

P

parseDate(String) - Method in class org.formix.dsx.serialization.XmlSerializer
Parse a date.

R

readXML(File) - Static method in class org.formix.dsx.XmlElement
Reads an XmlElement from the given file.
readXML(Reader) - Static method in class org.formix.dsx.XmlElement
Reads an XmlElement from the given reader.
readXML(Reader, XmlContentListener) - Static method in class org.formix.dsx.XmlElement
Read XML from the given reader and fire events from the provided listener.
readXML(String) - Static method in class org.formix.dsx.XmlElement
Parse the given xml string into an XmlElement.
registerClass(Class<?>) - Method in class org.formix.dsx.serialization.XmlSerializer
Used to quickly map a class simple name to the corresponding Class type.
registerPackage(String) - Method in class org.formix.dsx.serialization.XmlSerializer
Add a package to the list of lookup packages.
removeDeserializationListener(SerializationEventListener) - Method in class org.formix.dsx.serialization.XmlSerializer
Remove a deserialization listener.

S

save(File) - Method in class org.formix.dsx.XmlDocument
Saves the current document in the specified target file.
save(Writer) - Method in class org.formix.dsx.XmlDocument
Save the current XmlDocument to the specified writer.
save(OutputStream) - Method in class org.formix.dsx.XmlDocument
Saves the current document to the given output stream.
SerializationEvent - Class in org.formix.dsx.serialization
Defines a serialization event data.
SerializationEvent(Object, XmlElement, Object) - Constructor for class org.formix.dsx.serialization.SerializationEvent
Creates a SerializationEvent instance.
SerializationEventListener - Interface in org.formix.dsx.serialization
Interface defining listener methods that will be called during deserialization.
serialize(Object) - Method in class org.formix.dsx.serialization.XmlSerializer
Serializes an object into its XML representation.
serialize(Object, String) - Method in class org.formix.dsx.serialization.XmlSerializer
Serializes an object with a different XmlElement root name.
setAttribute(String, String) - Method in class org.formix.dsx.XmlElement
Sets a value to the given attribute.
setBody(Body<T>) - Method in class org.formix.dsx.soap.Envelope
Sets the body of the SOAP message.
setBodyContent(T) - Method in class org.formix.dsx.soap.Envelope
Sets the content of the body.
setContent(T) - Method in class org.formix.dsx.soap.Body
Sets the content of the body.
setDocumentType(XmlDocumentType) - Method in class org.formix.dsx.XmlDocument
Sets the XmlDocumentType.
setHeader(Header) - Method in class org.formix.dsx.soap.Envelope
Sets the header of the SOAP message.
setName(String) - Method in class org.formix.dsx.XmlElement
Sets the name of the current element.
setNameSpaces(Map<String, String>) - Method in class org.formix.dsx.builders.XmlBuilder
Sets namespace reference entries.
setRoot(XmlElement) - Method in class org.formix.dsx.XmlDocument
Sets the root XmlElement.
setRoot(XmlElement) - Method in class org.formix.dsx.XmlNavigator
Sets the root element.
setText(String) - Method in class org.formix.dsx.XmlText
Sets the text value.
SUID - Class in org.formix.dsx.utils
Sufficiently Unique Identifier

T

textCreated(XmlText) - Method in class org.formix.dsx.XmlContentAdapter
 
textCreated(XmlText) - Method in interface org.formix.dsx.XmlContentListener
Called after an XmlText content is created.
toString() - Method in class org.formix.dsx.XmlDocument
 
toString() - Method in class org.formix.dsx.XmlElement
 
toString() - Method in class org.formix.dsx.XmlText
 
toXml() - Method in class org.formix.dsx.XmlCDATA
 
toXml() - Method in class org.formix.dsx.XmlComment
 
toXml() - Method in interface org.formix.dsx.XmlContent
Method transforming the current class into its XML string representation.
toXml() - Method in class org.formix.dsx.XmlElement
 
toXml() - Method in class org.formix.dsx.XmlText
 

V

valueOf(String) - Static method in enum org.formix.dsx.XmlDocumentType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.formix.dsx.XmlDocumentType
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(Writer) - Method in class org.formix.dsx.XmlCDATA
 
write(Writer) - Method in class org.formix.dsx.XmlComment
 
write(Writer) - Method in interface org.formix.dsx.XmlContent
Method defining how the current class will write itself as XML to the given writer.
write(Writer) - Method in class org.formix.dsx.XmlElement
 
write(Writer) - Method in class org.formix.dsx.XmlText
 

X

XmlAttribute - Annotation Type in org.formix.dsx.builders
Tells that the given property should be serialized as an attribute to the parent element.
XmlBloc - Interface in org.formix.dsx
An marker interface that identify a class as an XML grouping.
XmlBuilder - Class in org.formix.dsx.builders
Generates XML using xml attributes to modulate how the xml serialization will behave.
XmlBuilder() - Constructor for class org.formix.dsx.builders.XmlBuilder
Creates an instance of the XmlBuilder.
XmlCDATA - Class in org.formix.dsx
Defines a CDATA xml chunk.
XmlCDATA(String) - Constructor for class org.formix.dsx.XmlCDATA
Creates a CDATA section with the given text.
XmlComment - Class in org.formix.dsx
Defines a comment xml chunk.
XmlComment(String) - Constructor for class org.formix.dsx.XmlComment
Creates an XmlComment section using the given text.
XmlContent - Interface in org.formix.dsx
Defines the methods found in all XML classes.
XmlContentAdapter - Class in org.formix.dsx
An Adapter with an empty implementation for each of XmlContentListener methods.
XmlContentAdapter() - Constructor for class org.formix.dsx.XmlContentAdapter
 
XmlContentListener - Interface in org.formix.dsx
An interface used to define hooks while xml is read.
XmlContentTypeName - Annotation Type in org.formix.dsx.builders
Tells XmlBuilder to use the type name instead of the method name for the XmlElement.
XmlDocument - Class in org.formix.dsx
Represents an XML document with the XML header.
XmlDocument() - Constructor for class org.formix.dsx.XmlDocument
Creates an instance of XmlDocument version 1.0
XmlDocument(XmlElement) - Constructor for class org.formix.dsx.XmlDocument
Creates an instance of XmlDocument version 1.0, using the given root.
XmlDocument(XmlDocumentType) - Constructor for class org.formix.dsx.XmlDocument
Creates an instance of XmlDocument with the given doctype.
XmlDocument(XmlElement, XmlDocumentType) - Constructor for class org.formix.dsx.XmlDocument
Creates an instance of XmlDocument with the given root element and doctype.
XmlDocumentType - Enum in org.formix.dsx
Tells for which document type an XML document instance is running.
XmlElement - Class in org.formix.dsx
Define an Xml node in an XML document.
XmlElement(String) - Constructor for class org.formix.dsx.XmlElement
Creates an XmlElement instance with the given name.
XmlException - Exception in org.formix.dsx
Exception thrown when a problem occurs during XML parsing.
XmlException() - Constructor for exception org.formix.dsx.XmlException
Creates an instance of XmlException.
XmlException(String) - Constructor for exception org.formix.dsx.XmlException
Creates an instance of XmlException with the given message.
XmlException(Throwable) - Constructor for exception org.formix.dsx.XmlException
Creates an instance of XmlException with the given cause.
XmlException(String, Throwable) - Constructor for exception org.formix.dsx.XmlException
Creates an instance of XmlException with the given message and cause.
XmlExplicitNull - Annotation Type in org.formix.dsx.builders
The default XmlBuilder behavior is to skip object property.
XmlIgnore - Annotation Type in org.formix.dsx.builders
Ignores the attached property.
XmlName - Annotation Type in org.formix.dsx.builders
Sets the name of the given type or property.
XmlNameSpace - Annotation Type in org.formix.dsx.builders
Sets the namespace uri for the given class or property.
XmlNavigator - Class in org.formix.dsx
Helps navigate through an XML hierarchy using a simple XPath like syntax.
XmlNavigator(XmlElement) - Constructor for class org.formix.dsx.XmlNavigator
Creates a ne XmlNavigator using the given XmlElement as root.
XmlOrder - Annotation Type in org.formix.dsx.builders
Tells in which order the corresponding XML element shall appear in the output XML document.
XmlSerializer - Class in org.formix.dsx.serialization
Serializes an object into its XML representation.
XmlSerializer() - Constructor for class org.formix.dsx.serialization.XmlSerializer
Creates an instance of XmlSerializer.
XmlText - Class in org.formix.dsx
Represents a text within the XML tree.
XmlText() - Constructor for class org.formix.dsx.XmlText
Creates an empty XmlText instance.
XmlText(String) - Constructor for class org.formix.dsx.XmlText
Creates an XmlText instance with the given text.
XmlType - Annotation Type in org.formix.dsx.builders
Tells the XmlBuilder to add the contained object type as an attribute to the corresponding XmlElement.
XS - Static variable in class org.formix.dsx.builders.XmlBuilder
 
XSI - Static variable in class org.formix.dsx.builders.XmlBuilder
 
A B C D E F G H L N O P R S T V W X 
Skip navigation links

Copyright © 2015. All rights reserved.