public final class IriDecoderHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IriDecoderHelper.Param
Simple holder class for a name/value pair.
|
Modifier and Type | Field and Description |
---|---|
static ResourceBundle |
BUNDLE |
Modifier and Type | Method and Description |
---|---|
static void |
addParams(String input,
int start,
int stop,
List<IriDecoderHelper.Param> params) |
static Document |
buildDocument(org.apache.ws.commons.schema.XmlSchemaAnnotated schemaAnnotation,
Collection<SchemaInfo> schemas,
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,
String endFragment) |
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.XmlSchemaAnnotated schemaAnnotation,
Collection<SchemaInfo> schemas,
List<IriDecoderHelper.Param> params) |
public static final ResourceBundle BUNDLE
public static List<IriDecoderHelper.Param> decodeIri(String uri, String loc)
public static void addParams(String input, int start, int stop, List<IriDecoderHelper.Param> params)
public static int findPartEnd(String path, int c, String endFragment)
endFragment
- public static void expect(String path, int index, char c)
public static String getUriPath(String uri)
public static Document buildDocument(org.apache.ws.commons.schema.XmlSchemaAnnotated schemaAnnotation, Collection<SchemaInfo> schemas, List<IriDecoderHelper.Param> params)
element
- params
- public static Document interopolateParams(Document doc, org.apache.ws.commons.schema.XmlSchemaAnnotated schemaAnnotation, Collection<SchemaInfo> schemas, List<IriDecoderHelper.Param> params)
public static List<IriDecoderHelper.Param> decode(String uri, String loc, InputStream is)
Apache CXF