org.apache.servicemix.soap.bindings.http.interceptors
Class IriDecoderHelper
java.lang.Object
org.apache.servicemix.soap.bindings.http.interceptors.IriDecoderHelper
public class IriDecoderHelper
- extends Object
- Author:
- Guillaume Nodet
|
Method Summary |
static void |
addParams(String input,
int start,
int stop,
List<IriDecoderHelper.Param> params)
|
static Document |
buildDocument(org.apache.ws.commons.schema.XmlSchemaElement element,
List<IriDecoderHelper.Param> params)
Create a dom document conformant with the given schema element
with the input parameters. |
static String |
combine(String location,
String httpLocation)
|
static List<IriDecoderHelper.Param> |
decode(String uri,
String loc,
InputStream is)
|
static List<IriDecoderHelper.Param> |
decodeIri(String uri,
String loc)
|
static void |
expect(String path,
int index,
char c)
Check that the next character is the one expected
or throw an exception |
static int |
findPartEnd(String path,
int c)
|
static String |
getUriPath(String uri)
Get the path of a given uri, removing the scheme and authority parts |
static Document |
interopolateParams(Document doc,
org.apache.ws.commons.schema.XmlSchemaElement element,
List<IriDecoderHelper.Param> params)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IriDecoderHelper
public IriDecoderHelper()
decodeIri
public static List<IriDecoderHelper.Param> decodeIri(String uri,
String loc)
addParams
public static void addParams(String input,
int start,
int stop,
List<IriDecoderHelper.Param> params)
findPartEnd
public static int findPartEnd(String path,
int c)
expect
public static void expect(String path,
int index,
char c)
- Check that the next character is the one expected
or throw an exception
getUriPath
public static String getUriPath(String uri)
- Get the path of a given uri, removing the scheme and authority parts
combine
public static String combine(String location,
String httpLocation)
buildDocument
public static Document buildDocument(org.apache.ws.commons.schema.XmlSchemaElement element,
List<IriDecoderHelper.Param> params)
- Create a dom document conformant with the given schema element
with the input parameters.
- Parameters:
element - params -
- Returns:
interopolateParams
public static Document interopolateParams(Document doc,
org.apache.ws.commons.schema.XmlSchemaElement element,
List<IriDecoderHelper.Param> params)
decode
public static List<IriDecoderHelper.Param> decode(String uri,
String loc,
InputStream is)
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.