public class NamespaceFactory extends Object
| Constructor and Description |
|---|
NamespaceFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Namespace |
getAtom() |
static Namespace |
getByCanonicalName(String canonicalName)
Static factory method that returns an instance of the
Namespace with the given canoncial
class name implementation for the given uri |
static Namespace |
getInstance(String uri)
Static factory method that returns the appropriate
Namespace
implementation for the given uri |
static Collection<Namespace> |
getNamespaces() |
static Namespace |
getRSS() |
static boolean |
isHTMLNamespace(String uri) |
public static Namespace getInstance(String uri)
Namespace
implementation for the given uriuri - a uri, not nullNamespace implementation, or nullpublic static Namespace getByCanonicalName(String canonicalName)
Namespace with the given canoncial
class name implementation for the given uricanonicalName - a String, not nullNamespace implementation, or nullpublic static Collection<Namespace> getNamespaces()
Namespace instances in this factorypublic static Namespace getRSS()
public static Namespace getAtom()
public static boolean isHTMLNamespace(String uri)
Copyright © 2018. All rights reserved.