|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.idgis.giserver.Tools
public class Tools
Tools for the GiServer package.
Constructor Summary | |
---|---|
Tools()
|
Method Summary | |
---|---|
static java.lang.String |
catStrings(java.lang.String[] strings,
java.lang.String catMnemonic)
Concatenate set of string to one string. |
static java.net.URL |
createURL(java.lang.String fileName)
|
static java.lang.String |
escapeXML(java.lang.String string)
Replace special characters with XML escapes: & <small>(ampersand)</small> is replaced by & < <small>(less than)</small> is replaced by < > <small>(greater than)</small> is replaced by > " <small>(double quote)</small> is replaced by " |
static org.deegree.model.spatialschema.Envelope |
getBoundingEnvelope(org.deegree.model.spatialschema.Envelope[] envelopes)
Calculate the bounding envelope for a collection of envelopes. |
static void |
respondException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String exceptionString)
Transform a exception message to a HttpServlet reponse exception signature. |
static org.deegree.datatypes.QualifiedName |
transformToQualifiedName(java.lang.String value,
org.deegree.framework.xml.NamespaceContext nsc)
Transform a string to a qualified name with the given namespace domain. |
static org.deegree.datatypes.QualifiedName |
transformToQualifiedName(java.lang.String value,
java.lang.String namespace)
Transform a string to a qualified name with the given namespace. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Tools()
Method Detail |
---|
public static void respondException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String exceptionString)
request
- HttpServlet request.response
- HttpServlet respons.exceptionString
- the message from a exceptionpublic static org.deegree.model.spatialschema.Envelope getBoundingEnvelope(org.deegree.model.spatialschema.Envelope[] envelopes)
envelopes
- the envelopes which determine the result.
public static org.deegree.datatypes.QualifiedName transformToQualifiedName(java.lang.String value, java.lang.String namespace)
value
- the name string to be convertednsc
- the given name space
public static org.deegree.datatypes.QualifiedName transformToQualifiedName(java.lang.String value, org.deegree.framework.xml.NamespaceContext nsc)
value
- the name string to be convertednsc
- the given name space domain
public static java.lang.String catStrings(java.lang.String[] strings, java.lang.String catMnemonic)
strings
- the set of strings available for concatenation.catMnemonic
- concatenation mnemonic between two concatenated strings.
public static java.net.URL createURL(java.lang.String fileName) throws java.net.MalformedURLException
java.net.MalformedURLException
public static java.lang.String escapeXML(java.lang.String string)
& <small>(ampersand)</small> is replaced by & < <small>(less than)</small> is replaced by < > <small>(greater than)</small> is replaced by > " <small>(double quote)</small> is replaced by "
string
- The string to be escaped.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |