| |
|
| java.lang.Object org.jibx.binding.model.ElementBase org.jibx.binding.model.NamespaceElement
NamespaceElement | public class NamespaceElement extends ElementBase (Code) | | Model component for namespace element of binding definition.
author: Dennis M. Sosnoski version: 1.0 |
ALLDEFAULT_USAGE | final public static int ALLDEFAULT_USAGE(Code) | | |
ATTRIBUTES_USAGE | final public static int ATTRIBUTES_USAGE(Code) | | |
ELEMENTS_USAGE | final public static int ELEMENTS_USAGE(Code) | | |
NODEFAULT_USAGE | final public static int NODEFAULT_USAGE(Code) | | |
s_allowedAttributes | final public static StringArray s_allowedAttributes(Code) | | Enumeration of allowed attribute names
|
NamespaceElement | public NamespaceElement()(Code) | | Constructor.
|
getDefaultName | public String getDefaultName()(Code) | | Get namespace default type name.
namespace default type name |
getPrefix | public String getPrefix()(Code) | | Get prefix.
prefix text |
getUri | public String getUri()(Code) | | Get namespace URI.
namespace URI (null if no-namespace namespace) |
isAttributeDefault | public boolean isAttributeDefault()(Code) | | Check if default namespace for attributes. This method is only meaningful
after a call to
NamespaceElement.validate .
true if default namespace for attributes,false if not |
isElementDefault | public boolean isElementDefault()(Code) | | Check if default namespace for elements. This method is only meaningful
after a call to
NamespaceElement.validate .
true if default namespace for elements,false if not |
prevalidate | public void prevalidate(ValidationContext vctx)(Code) | | Prevalidate attributes of element in isolation.
Parameters: vctx - validation context |
setDefaultName | public void setDefaultName(String name)(Code) | | Set namespace default type name.
Parameters: name - namespace default type |
setPrefix | public void setPrefix(String text)(Code) | | Set prefix.
Parameters: prefix - text |
setUri | public void setUri(String uri)(Code) | | Set namespace URI.
Parameters: uri - namespace URI (null if no-namespace namespace) |
|
|
|