|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.station.builder.RegistryBuilder
public final class RegistryBuilder
Test example application sources.
Constructor Summary | |
---|---|
RegistryBuilder()
|
Method Summary | |
---|---|
Object |
build(URI uri)
Build a registry descriptior from a uri. |
protected ValueDirective |
buildValueDirective(Element element)
Construct a single value directive. |
protected ValueDirective[] |
buildValueDirectives(Element[] elements)
Construct a value directive array. |
Object |
decode(Element element,
Resolver resolver)
Decode a registry descriptior from a DOM element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegistryBuilder()
Method Detail |
---|
public Object build(URI uri) throws DecodingException, IOException
uri
- the uri to the descriptor XML document
DecodingException
- if a decoding error occurs
IOException
- if a IO error occurspublic Object decode(Element element, Resolver resolver) throws DecodingException
decode
in interface Decoder
element
- the element representing the root registryresolver
- build-time uri resolver
DecodingException
- if a decoding error occursprotected ValueDirective[] buildValueDirectives(Element[] elements)
elements
- the array of DOM elements representing value directive assertions
protected ValueDirective buildValueDirective(Element element)
element
- the DOM element representing the value directive assertions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |