|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.xml.Xml
Various methods relating to XML communication.
| Constructor Summary | |
Xml()
|
|
| Method Summary | |
static boolean |
applyMapConfig(java.lang.String urlString,
Map map,
Config conf)
Sets properties of the map object from a URL containing XML. |
static boolean |
applySiteConfig(java.lang.String urlString,
Config conf)
Sets properties of the site configuration object from a URL containing XML. |
static boolean |
applyThemeConfig(java.lang.String urlString,
Config conf)
Creates theme objects from a URL containing XML. |
static boolean |
applyXmlSecurity(java.lang.String xml,
Config conf)
|
static java.lang.String |
fixAmpersands(java.lang.String xml)
|
static boolean |
parseGetFeatureInfoResults(WmsLayer lyr,
java.lang.String xml,
java.lang.String saxParser)
Parses an XML GetFeatureInfo response. |
static Recordset |
parseGetFeatureResults(Recordset rs,
java.lang.String xml,
java.lang.String parsingFormat)
Parses a GetFeature XML response into a recordset using the specified handler. |
static Recordset |
parseGetFeatureResults(java.lang.String xml)
Parses a GetFeature XML response into a recordset using the default GML2 handler. |
static Recordset |
parseGetFeatureResults(java.lang.String xml,
java.lang.String parsingFormat)
Parses a GetFeature XML response into a recordset using the specified handler. |
static java.lang.String |
readFromUrl(java.lang.String urlString)
Reads the contents of a URL and returns it as a string. |
static java.lang.String |
readFromUrl(java.lang.String urlString,
java.lang.String authentication)
Reads the contents of a URL and returns it as a string. |
static java.lang.String |
readFromUrlPost(java.lang.String urlString,
java.lang.String postString)
Reads the contents of a URL and returns it as a string. |
static java.lang.String |
readLinesFromUrl(java.lang.String urlString)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Xml()
| Method Detail |
public static boolean applyXmlSecurity(java.lang.String xml,
Config conf)
public static boolean applyMapConfig(java.lang.String urlString,
Map map,
Config conf)
urlString - The complete URL path (eg. http://somehost/file.xml)map - The map object to apply the properties to.conf - The configuration object containing site properties.
public static boolean applyThemeConfig(java.lang.String urlString,
Config conf)
urlString - The complete URL path (eg. http://somehost/file.xml)conf - The configuration object containing site properties.
public static boolean applySiteConfig(java.lang.String urlString,
Config conf)
urlString - The complete URL path (eg. http://somehost/file.xml)conf - The configuration object to apply the properties to.
public static Recordset parseGetFeatureResults(java.lang.String xml)
xml - The XML to be parsed.
public static Recordset parseGetFeatureResults(java.lang.String xml,
java.lang.String parsingFormat)
xml - The XML to be parsed.parsingFormat - The complete class name of the parsing handler.
public static Recordset parseGetFeatureResults(Recordset rs,
java.lang.String xml,
java.lang.String parsingFormat)
rs - The recordset to populate.xml - The XML to be parsed.parsingFormat - The complete class name of the parsing handler.
public static boolean parseGetFeatureInfoResults(WmsLayer lyr,
java.lang.String xml,
java.lang.String saxParser)
lyr - saxParser -
public static java.lang.String readFromUrl(java.lang.String urlString)
urlString - The URL to open.
public static java.lang.String readFromUrl(java.lang.String urlString,
java.lang.String authentication)
authentication - urlString - The URL to open.
public static java.lang.String readFromUrlPost(java.lang.String urlString,
java.lang.String postString)
urlString - The URL to open.postString - The data to post to the URL.
public static java.lang.String readLinesFromUrl(java.lang.String urlString)
urlString -
public static java.lang.String fixAmpersands(java.lang.String xml)
xml -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||