Package org.opensaml.core.xml.mock
Class SimpleXMLObjectBuilder
java.lang.Object
org.opensaml.core.xml.AbstractXMLObjectBuilder<SimpleXMLObject>
org.opensaml.core.xml.mock.SimpleXMLObjectBuilder
- All Implemented Interfaces:
XMLObjectBuilder<SimpleXMLObject>
Builder of
SimpleXMLObjects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefault builder method.buildObject(String namespaceURI, String localName, String namespacePrefix) Creates an XMLObject with a given fully qualified name.Methods inherited from class org.opensaml.core.xml.AbstractXMLObjectBuilder
buildObject, buildObject, buildObject, buildObject
-
Constructor Details
-
SimpleXMLObjectBuilder
public SimpleXMLObjectBuilder()
-
-
Method Details
-
buildObject
Default builder method.- Returns:
- new object
-
buildObject
@Nonnull public SimpleXMLObject buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix) Creates an XMLObject with a given fully qualified name.- Specified by:
buildObjectin interfaceXMLObjectBuilder<SimpleXMLObject>- Specified by:
buildObjectin classAbstractXMLObjectBuilder<SimpleXMLObject>- Parameters:
namespaceURI- the URI of the namespace the Element represented by this XMLObject will be inlocalName- the local name of the Element represented by this XMLObjectnamespacePrefix- the namespace prefix of the Element represented by this XMLObject- Returns:
- the constructed XMLObject
-