public class QNameNormalization extends Object
Constructor and Description |
---|
QNameNormalization() |
Modifier and Type | Method and Description |
---|---|
static Collection<String> |
normalize(Collection<String> names)
Normalize a collection of names to dot-separated QNames.
|
static String |
normalize(String name)
Normalize a full name to
foo.bar.Name form. |
static String |
normalize(String name,
String separator)
Normalize a full name to QName with the given separator character.
|
public static String normalize(String name)
foo.bar.Name
form.name
- full namepublic static String normalize(String name, String separator)
name
- full nameseparator
- separator character between tokens in the namepublic static Collection<String> normalize(Collection<String> names)
Copyright © 2016 The Apache Software Foundation. All rights reserved.