XMLObjectType
- the XMLObject type that this builder producespublic abstract class AbstractXMLObjectBuilder<XMLObjectType extends XMLObject> extends Object implements XMLObjectBuilder<XMLObjectType>
AbstractXMLObject
sConstructor and Description |
---|
AbstractXMLObjectBuilder() |
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.
|
abstract 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 public XMLObjectType buildObject(@Nonnull QName objectName)
buildObject
in interface XMLObjectBuilder<XMLObjectType extends XMLObject>
objectName
- fully qualified name of the object@Nonnull public XMLObjectType buildObject(@Nonnull QName objectName, @Nullable QName schemaType)
buildObject
in interface XMLObjectBuilder<XMLObjectType extends XMLObject>
objectName
- fully qualified name of the objectschemaType
- the schema type of the Element represented by this XMLObject@Nonnull public abstract XMLObjectType buildObject(@Nullable String namespaceURI, @Nonnull @NotEmpty String localName, @Nullable String namespacePrefix)
buildObject
in interface XMLObjectBuilder<XMLObjectType extends XMLObject>
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 public XMLObjectType buildObject(@Nullable String namespaceURI, @Nonnull String localName, @Nullable String namespacePrefix, @Nullable QName schemaType)
buildObject
in interface XMLObjectBuilder<XMLObjectType extends XMLObject>
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 public XMLObjectType buildObject(@Nonnull Element element)
AbstractXMLObjectUnmarshaller
.buildObject
in interface XMLObjectBuilder<XMLObjectType extends XMLObject>
element
- the DOM Element containing information about the object to be built.Copyright © 2016 JBoss by Red Hat. All rights reserved.