public class RootElementBinding extends Object implements Serializable
Constructor and Description |
---|
RootElementBinding(String namespace,
String name,
boolean nillable) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
getNamespace() |
QName |
getQName() |
boolean |
isNilable() |
boolean |
matches(String otherNamespace,
String otherName) |
String |
toString() |
public RootElementBinding(String namespace, String name, boolean nillable)
namespace
- The name space. May be null
or empty (no name space). null
is normalized to
empty string.name
- The name or null
if no name (e.g. binding for value).nillable
- true
if the element is nilable, false
otherwise.public String getNamespace()
null
to empty string).public String getName()
null
if no name (e.g. binding for value).public boolean isNilable()
true
if the element is nilable, false
otherwise.public boolean matches(String otherNamespace, String otherName)
otherNamespace
- Other name space. May be null
or empty (no name space). null
is normalized
to empty string.otherName
- Other name.true
if this binding matches the other name space and name.Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.