public class NodeBinding extends RootElementBinding
Constructor and Description |
---|
NodeBinding(String namespace,
String name,
boolean nillable,
boolean required,
Type type,
String xsdTypeName,
String xsdTypeNamespace,
BaseXSDType mappedAs) |
Modifier and Type | Method and Description |
---|---|
BaseXSDType |
getMappedAs() |
Type |
getType() |
String |
getXsdTypeName() |
String |
getXsdTypeNamespace() |
boolean |
isRequired() |
String |
toString() |
getName, getNamespace, getQName, isNilable, matches
public NodeBinding(String namespace, String name, boolean nillable, boolean required, Type type, String xsdTypeName, String xsdTypeNamespace, BaseXSDType mappedAs)
namespace
- The XML element name space. May be null
or empty (no name space). null
is
normalized to empty string. Used for NodeXMLKind.ELEMENT
and NodeXMLKind.ATTRIBUTE
.name
- The XML element name, must not be null
. Used for NodeXMLKind.ELEMENT
and
NodeXMLKind.ATTRIBUTE
.nillable
- true
if the element is nilable, false
otherwise. Used for
NodeXMLKind.ELEMENT
.required
- true
if the element is required to appear in the content model, false
otherwise. Used for all.type
- The LSPS type of the element. Used for record types where we need the type as which we will process
the record to serialize only required fields.xsdTypeName
- The XSD type name of the element.xsdTypeNamespace
- The XSD type name space of the element.mappedAs
- Information about the base mapping of a type.public boolean isRequired()
true
if the element is required to appear in the content model, false
otherwise.public Type getType()
public String getXsdTypeName()
public String getXsdTypeNamespace()
public BaseXSDType getMappedAs()
public String toString()
toString
in class RootElementBinding
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.