| org.jibx.binding.model.IComponent
All known Subclasses: org.jibx.binding.model.StructureElementBase, org.jibx.binding.model.ValueElement,
IComponent | public interface IComponent (Code) | | Child component interface definition. This is the basic interface implemented
by every binding definition element that actually participates in the nested
structure of a binding (as opposed to elements such as format
elements, which are simply convenience shortcuts). It defines the hooks used
to handle structure validation of a binding definition model.
author: Dennis M. Sosnoski version: 1.0 |
Method Summary | |
public String | getName() Get name. | public IClass | getType() Get value type information. | public String | getUri() Get specified namespace URI. | public boolean | hasAttribute() Check if component defines one or more attribute values of the
containing element. | public boolean | hasContent() Check if component defines one or more elements or text values as
children of the containing element. | public boolean | hasName() Check if component has a name. | public boolean | isImplicit() Check if this structure implicitly uses the containing object. | public boolean | isOptional() Check if component is an optional item. |
getType | public IClass getType()(Code) | | Get value type information. This call is only meaningful after
prevalidation.
type information |
getUri | public String getUri()(Code) | | Get specified namespace URI.
namespace URI (null if not set) |
hasAttribute | public boolean hasAttribute()(Code) | | Check if component defines one or more attribute values of the
containing element. This method is only valid after the call to
setLinkages .
true if one or more attribute values defined forcontaining element, false if not |
hasContent | public boolean hasContent()(Code) | | Check if component defines one or more elements or text values as
children of the containing element. This method is only valid after the
call to
setLinkages .
true if one or more content values definedfor containing element, false if not |
hasName | public boolean hasName()(Code) | | Check if component has a name.
true if component has a name, false ifnot |
isImplicit | public boolean isImplicit()(Code) | | Check if this structure implicitly uses the containing object. This call
is only meaningful after prevalidation.
true if using the containing object,false if own object |
isOptional | public boolean isOptional()(Code) | | Check if component is an optional item.
true if optional, false if required |
|
|