|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.dpml.util.DecoderFactory
public final class DecoderFactory
Utility class supporting resolution of element decoders.
| Constructor Summary | |
|---|---|
DecoderFactory()
Creation of a new helper factory using default mappings. |
|
DecoderFactory(Map map)
Creation of a new decoder factory. |
|
| Method Summary | |
|---|---|
URI |
getDecoderURI(Element element)
Resolve the decoder uri from a supplied element. |
static URI |
getDecoderURIFromNamespaceURI(String urn)
Resolve the part handler given an element namespace. |
Decoder |
loadDecoder(Element element)
Get an element helper based on the namespace declared by the supplied element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DecoderFactory()
public DecoderFactory(Map map)
map - the namespace to helper uri map| Method Detail |
|---|
public Decoder loadDecoder(Element element)
throws Exception
element - the DOM element
Exception - if an eror occurs
public URI getDecoderURI(Element element)
throws Exception
element - the DOM element
Exception - if an error occurs
public static URI getDecoderURIFromNamespaceURI(String urn)
throws Exception
urn - the namespace value
Exception - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||