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.
|
public XMLObjectType buildObject(QName objectName)
buildObject
in interface XMLObjectBuilder<XMLObjectType extends XMLObject>
objectName
- fully qualified name of the objectpublic XMLObjectType buildObject(QName objectName, 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 XMLObjectpublic abstract XMLObjectType buildObject(String namespaceURI, String localName, 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 XMLObjectpublic XMLObjectType buildObject(String namespaceURI, String localName, String namespacePrefix, 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 XMLObjectpublic XMLObjectType buildObject(Element element)
AbstractXMLObjectUnmarshaller
.buildObject
in interface XMLObjectBuilder<XMLObjectType extends XMLObject>
element
- the DOM Element containing information about the object to be built.Copyright © 2018 JBoss by Red Hat. All rights reserved.