public class RootElementBinding
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
RootElementBinding(java.lang.String namespace,
java.lang.String name,
boolean nillable) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
javax.xml.namespace.QName |
getQName() |
boolean |
isNilable() |
boolean |
matches(java.lang.String otherNamespace,
java.lang.String otherName) |
java.lang.String |
toString() |
public RootElementBinding(java.lang.String namespace, java.lang.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 java.lang.String getNamespace()
null
to empty string).public java.lang.String getName()
null
if no name (e.g. binding for value).public javax.xml.namespace.QName getQName()
QName
from name space and name or null
if name is null.public boolean isNilable()
true
if the element is nilable, false
otherwise.public boolean matches(java.lang.String otherNamespace, java.lang.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.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.