XMLObjectType
- the XMLObject type that this builder producespublic interface XMLObjectBuilder<XMLObjectType extends XMLObject>
Modifier and Type | Method and Description |
---|---|
XMLObjectType |
buildObject(Element element)
Creates an XMLObject using information from the given DOM element.
|
XMLObjectType |
buildObject(QName objectName)
Creates an XMLObject with a given fully qualified name.
|
XMLObjectType |
buildObject(QName objectName,
QName schemaType)
Creates an XMLObject with a given fully qualified name and schema type.
|
XMLObjectType |
buildObject(String namespaceURI,
String localName,
String namespacePrefix)
Creates an XMLObject with a given fully qualified name.
|
XMLObjectType |
buildObject(String namespaceURI,
String localName,
String namespacePrefix,
QName schemaType)
Creates an XMLObject with a given fully qualified name.
|
@Nonnull XMLObjectType buildObject(@Nonnull QName objectName)
objectName
- fully qualified name of the object@Nonnull XMLObjectType buildObject(@Nonnull QName objectName, @Nullable QName schemaType)
objectName
- fully qualified name of the objectschemaType
- the schema type of the Element represented by this XMLObject@Nonnull XMLObjectType buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix)
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@Nonnull XMLObjectType buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix, @Nullable QName schemaType)
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 XMLObjectschemaType
- the schema type of the Element represented by this XMLObject@Nonnull XMLObjectType buildObject(@Nonnull Element element)
AbstractXMLObjectUnmarshaller
.element
- the DOM Element containing information about the object to be built.Copyright © 2017. All rights reserved.