C D E F G I J L P R S T W X

C

com.ebmwebsourcing.webcommons.util - package com.ebmwebsourcing.webcommons.util
 
copy(InputStream, OutputStream) - Static method in class com.ebmwebsourcing.webcommons.util.InputStreamUtil
Copies information from the input stream to the output stream using a default buffer size of 2048 bytes.
copy(InputStream, OutputStream, int) - Static method in class com.ebmwebsourcing.webcommons.util.InputStreamUtil
Copies information from the input stream to the output stream using the specified buffer size
copyThenClose(InputStream, OutputStream) - Static method in class com.ebmwebsourcing.webcommons.util.InputStreamUtil
Copies information between specified streams and then closes both of the streams.
createAttribute(Document, String, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Create an attribute node with the specified value
createDocument() - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Get a new document
createDocument(InputStream) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Get a new document from an InputStream
createDocument(InputSource) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Get a new document from an InputSource
createDocumentFromString(String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Create a document from a String
createJAXBContext(List<Class>) - Static method in class com.ebmwebsourcing.webcommons.util.JAXBUtil
 
createJAXBContext(Class...) - Static method in class com.ebmwebsourcing.webcommons.util.JAXBUtil
 
createJAXBContextFromPackages(String...) - Static method in class com.ebmwebsourcing.webcommons.util.JAXBUtil
 
createJAXBContextFromPackages(String) - Static method in class com.ebmwebsourcing.webcommons.util.JAXBUtil
 
createJAXBContextFromPackages(List<String>) - Static method in class com.ebmwebsourcing.webcommons.util.JAXBUtil
 
createNode(Document, String, String...) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Create a node with the specified name, attributes and values. attVal is a suite : att1,val1,att2,val2,...
createSchemaFactory(String) - Static method in class com.ebmwebsourcing.webcommons.util.JAXBUtil
 
createStringFromDOMDocument(Node) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Create a String result from a DOM document
createStringFromDOMNode(Node) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Create a String result from a DOM Node
createStringFromDOMNode(Node, boolean) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Create a String result from a DOM Node
createStringFromDOMNodeList(NodeList) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Create a String from a Node list
createWsdlSource(Document) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
 
createWsdlSource(URI) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
 

D

DEFAULT_BUFFER_SIZE - Static variable in class com.ebmwebsourcing.webcommons.util.InputStreamUtil
Default value is 2048.

E

equal(String, String) - Static method in class com.ebmwebsourcing.webcommons.util.StringHelper
Test the equality of the specified strings. test is : ( (a==b==null) || a.equals(b) )
equalIgnoreCase(String, String) - Static method in class com.ebmwebsourcing.webcommons.util.StringHelper
Same as equal, with ignoreCase
extractRequiredXmlAttributeQName(Node, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
 
extractValueForAttribute(String, String, String) - Static method in class com.ebmwebsourcing.webcommons.util.StringHelper
TODO use Tokenizer Extract in the given String the value corresponding to the given attribute: ".......
extractXmlAttributeQName(Node, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Return the QName extracted from the targeted attribute of the given Node
extractXmlEncoding(String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Extract the xml header charset encoding from the given xml String

F

findChild(Node, String, boolean) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Deprecated. Use findChild(Node, String, String, boolean) with a namespace set to null.
findChild(Node, String, String, boolean) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Search for a child with the given nodeName.

G

getAttributeValue(Node, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Return the value of the attribute in the node
getBytes(InputStream) - Static method in class com.ebmwebsourcing.webcommons.util.InputStreamUtil
 
getFirstChild(Node) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Return the first child of a node, regardless text node and CDATA sections
getInputStream(String) - Static method in class com.ebmwebsourcing.webcommons.util.InputStreamUtil
 
getInputStream(URI) - Static method in class com.ebmwebsourcing.webcommons.util.InputStreamUtil
 
getInputStream(URL) - Static method in class com.ebmwebsourcing.webcommons.util.InputStreamUtil
 
getNextSibling(Node) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Return the next sibling of a node, regardless text node and CDATA sections
getNode(Document, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
 
getNodeChildren(Node) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
A List of Node that contains all children of this node; nodes must be of type Node.ELEMENT_NODE to be returned.
getNodeWithAttribute(Document, String, String, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
 
getRequiredAttributeValue(Node, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Return the value of the attribute in the node.
getTextContent(Node) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Return the text element of a node, even if it is contained in a CDATA section
getTextContents(NodeList) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Return an array of String representing each Text element of the nodes which are in the list.
getWebApplicationContext(ServletContext) - Static method in class com.ebmwebsourcing.webcommons.util.SpringUtil
Find the root WebApplicationContext for this web application, which is typically loaded via ContextLoaderListener or ContextLoaderServlet.

I

InputStreamUtil - Class in com.ebmwebsourcing.webcommons.util
 
InputStreamUtil() - Constructor for class com.ebmwebsourcing.webcommons.util.InputStreamUtil
 
isNullOrEmpty(String) - Static method in class com.ebmwebsourcing.webcommons.util.StringHelper
Return true if the String is null or its size is 0.

J

JAXBUtil - Class in com.ebmwebsourcing.webcommons.util
 
JAXBUtil() - Constructor for class com.ebmwebsourcing.webcommons.util.JAXBUtil
 

L

loadDocument(InputStream) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Load a document from an input stream.

P

parseToString(Node) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Transform an XML Node into a String

R

replace(String, char, char) - Static method in class com.ebmwebsourcing.webcommons.util.StringHelper
Replace an old character by a new one in the given string

S

searchNode(NodeList, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Allow to find a node in a node list
searchNodes(Document, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Allow to find several nodes in a document
searchNodes(Node, String) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Allow to find several sub nodes in a node
splitPathElements(String) - Static method in class com.ebmwebsourcing.webcommons.util.StringHelper
Split the given String path into String path elements.
SpringUtil - Class in com.ebmwebsourcing.webcommons.util
An util class to ease Spring integration
SpringUtil() - Constructor for class com.ebmwebsourcing.webcommons.util.SpringUtil
 
StringHelper - Class in com.ebmwebsourcing.webcommons.util
Initial developer(s): Adrien LOUIS

T

toStreamSource(DOMSource) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
 
toString(InputStream) - Static method in class com.ebmwebsourcing.webcommons.util.StringHelper
 

W

writeDocument(Document, OutputStream) - Static method in class com.ebmwebsourcing.webcommons.util.XMLUtil
Write a document to an output stream.

X

XMLUtil - Class in com.ebmwebsourcing.webcommons.util
Contains utilities methods for XML operations.

C D E F G I J L P R S T W X

Copyright © 2010 eBM WebSourcing. All Rights Reserved.