|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.XMLObjectBuilderFactory
public class XMLObjectBuilderFactory
A factory for XMLObjectBuilders. XMLObjectBuilders are stored and retrieved by a
QName key. This key is either the XML Schema Type or element QName of the XML element the
built XMLObject object represents.
| Constructor Summary | |
|---|---|
XMLObjectBuilderFactory()
Constructor. |
|
| Method Summary | |
|---|---|
XMLObjectBuilder |
deregisterBuilder(QName builderKey)
Deregisters a builder. |
XMLObjectBuilder |
getBuilder(Element domElement)
Retrieves the XMLObject builder for the given element. |
XMLObjectBuilder |
getBuilder(QName key)
Retrieves an XMLObjectBuilder using the key it was registered with. |
Map<QName,XMLObjectBuilder> |
getBuilders()
Gets an immutable list of all the builders currently registered. |
void |
registerBuilder(QName builderKey,
XMLObjectBuilder builder)
Registers a new builder for the given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLObjectBuilderFactory()
| Method Detail |
|---|
public XMLObjectBuilder getBuilder(QName key)
XMLObjectBuilder using the key it was registered with.
key - the key used to register the builder
public XMLObjectBuilder getBuilder(Element domElement)
domElement - the element to retrieve the builder for
public Map<QName,XMLObjectBuilder> getBuilders()
public void registerBuilder(QName builderKey,
XMLObjectBuilder builder)
builderKey - the key used to retrieve this builder laterbuilder - the builderpublic XMLObjectBuilder deregisterBuilder(QName builderKey)
builderKey - the key for the builder to be deregistered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||