Java Doc for CollectionElement.java in » XML » jibx-1.1.5 » org » jibx » binding » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
XML
»
jibx 1.1.5
»
org.jibx.binding.model
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
org.jibx.binding.model
.ElementBase
org.jibx.binding.model
.NestingElementBase
org.jibx.binding.model
.ContainerElementBase
org.jibx.binding.model
.StructureElementBase
org.jibx.binding.model
.CollectionElement
CollectionElement
public
class CollectionElement extends
StructureElementBase
(Code)
Model component for
collection
element of binding definition.
author:
Dennis M. Sosnoski
version:
1.0
Field Summary
final
public
static
StringArray
s_allowedAttributes
Constructor Summary
public
CollectionElement
()
Default constructor.
Method Summary
public
IClassItem
getAddMethodItem
()
Get add method information.
public
String
getAddMethodName
()
Get add method name.
public
IClass
getChildObjectType
()
public
IClass
getItemTypeClass
()
Get item type information.
public
String
getItemTypeName
()
Get item type name.
public
IClassItem
getIterMethodItem
()
Get iterator method information.
public
String
getIterMethodName
()
Get iterator method name.
public
IClassItem
getLoadMethodItem
()
Get load method information.
public
String
getLoadMethodName
()
Get load method name.
public
IClassItem
getSizeMethodItem
()
Get size method information.
public
String
getSizeMethodName
()
Get size method name.
public
IClassItem
getStoreMethodItem
()
Get store method information.
public
String
getStoreMethodName
()
Get store method name.
public
boolean
hasAttribute
()
Check for attribute definition.
public
boolean
hasContent
()
Check for content definition.
public
boolean
hasObject
()
Check for object present.
public
void
prevalidate
(
ValidationContext
vctx)
public
void
setAddMethodName
(
String
name)
Set add method name.
public
boolean
setIdChild
(
IComponent
child)
Set ID property.
public
void
setItemTypeName
(
String
type)
Set item type name.
public
void
setIterMethodName
(
String
name)
Set iterator method name.
public
void
setLoadMethodName
(
String
name)
Set load method name.
public
void
setSizeMethodName
(
String
name)
Set size method name.
public
void
setStoreMethodName
(
String
name)
Set store method name.
public
void
validate
(
ValidationContext
vctx)
Field Detail
s_allowedAttributes
final
public
static
StringArray
s_allowedAttributes
(Code)
Enumeration of allowed attribute names
Constructor Detail
CollectionElement
public
CollectionElement()
(Code)
Default constructor.
Method Detail
getAddMethodItem
public
IClassItem
getAddMethodItem()
(Code)
Get add method information. This call is only meaningful after validation. add method information (or
null
if none)
getAddMethodName
public
String
getAddMethodName()
(Code)
Get add method name. add method name (or
null
if none)
getChildObjectType
public
IClass
getChildObjectType()
(Code)
getItemTypeClass
public
IClass
getItemTypeClass()
(Code)
Get item type information. This call is only meaningful after validation. item type information
getItemTypeName
public
String
getItemTypeName()
(Code)
Get item type name. item type name (or
null
if none)
getIterMethodItem
public
IClassItem
getIterMethodItem()
(Code)
Get iterator method information. This call is only meaningful after validation. iterator method information (or
null
if none)
getIterMethodName
public
String
getIterMethodName()
(Code)
Get iterator method name. iterator method name (or
null
if none)
getLoadMethodItem
public
IClassItem
getLoadMethodItem()
(Code)
Get load method information. This call is only meaningful after validation. load method information (or
null
if none)
getLoadMethodName
public
String
getLoadMethodName()
(Code)
Get load method name. load method name (or
null
if none)
getSizeMethodItem
public
IClassItem
getSizeMethodItem()
(Code)
Get size method information. This call is only meaningful after validation. size method information (or
null
if none)
getSizeMethodName
public
String
getSizeMethodName()
(Code)
Get size method name. size method name (or
null
if none)
getStoreMethodItem
public
IClassItem
getStoreMethodItem()
(Code)
Get store method information. This call is only meaningful after validation. store method information (or
null
if none)
getStoreMethodName
public
String
getStoreMethodName()
(Code)
Get store method name. store method name (or
null
if none)
hasAttribute
public
boolean hasAttribute()
(Code)
Check for attribute definition. Always
false
for collection.
false
hasContent
public
boolean hasContent()
(Code)
Check for content definition. Always
true
for collection.
true
hasObject
public
boolean hasObject()
(Code)
Check for object present. Always
true
for collection.
true
prevalidate
public
void prevalidate(
ValidationContext
vctx)
(Code)
setAddMethodName
public
void setAddMethodName(
String
name)
(Code)
Set add method name.
Parameters:
name - add method name (or
null
if none)
setIdChild
public
boolean setIdChild(
IComponent
child)
(Code)
Set ID property. This is never supported for an object coming from a collection.
Parameters:
child - child defining the ID property
true
if successful,
false
if IDalready defined
setItemTypeName
public
void setItemTypeName(
String
type)
(Code)
Set item type name.
Parameters:
type - item type name (or
null
if none)
setIterMethodName
public
void setIterMethodName(
String
name)
(Code)
Set iterator method name.
Parameters:
name - iterator method name (or
null
if none)
setLoadMethodName
public
void setLoadMethodName(
String
name)
(Code)
Set load method name.
Parameters:
name - load method name (or
null
if none)
setSizeMethodName
public
void setSizeMethodName(
String
name)
(Code)
Set size method name.
Parameters:
name - size method name (or
null
if none)
setStoreMethodName
public
void setStoreMethodName(
String
name)
(Code)
Set store method name.
Parameters:
name - store method name (or
null
if none)
validate
public
void validate(
ValidationContext
vctx)
(Code)
Fields inherited from
org.jibx.binding.model.StructureElementBase
final
public
static
StringArray
s_allowedAttributes
(Code)
(Java Doc)
Methods inherited from
org.jibx.binding.model.StructureElementBase
public
String
getDeclaredType()
(Code)
(Java Doc)
public
IClassItem
getField()
(Code)
(Java Doc)
public
String
getFieldName()
(Code)
(Java Doc)
public
IClassItem
getGet()
(Code)
(Java Doc)
public
String
getGetName()
(Code)
(Java Doc)
public
IClass
getGetType()
(Code)
(Java Doc)
public
String
getName()
(Code)
(Java Doc)
public
NamespaceElement
getNamespace()
(Code)
(Java Doc)
public
IClass
getObjectType()
(Code)
(Java Doc)
public
String
getPrefix()
(Code)
(Java Doc)
public
IClassItem
getSet()
(Code)
(Java Doc)
public
String
getSetName()
(Code)
(Java Doc)
public
IClass
getSetType()
(Code)
(Java Doc)
public
IClassItem
getTest()
(Code)
(Java Doc)
public
String
getTestName()
(Code)
(Java Doc)
public
IClass
getType()
(Code)
(Java Doc)
public
String
getUri()
(Code)
(Java Doc)
public
int getUsage()
(Code)
(Java Doc)
public
String
getUsageName()
(Code)
(Java Doc)
public
boolean hasAttribute()
(Code)
(Java Doc)
public
boolean hasContent()
(Code)
(Java Doc)
public
boolean hasName()
(Code)
(Java Doc)
public
boolean hasObject()
(Code)
(Java Doc)
public
boolean hasProperty()
(Code)
(Java Doc)
public
boolean isImplicit()
(Code)
(Java Doc)
public
boolean isOptional()
(Code)
(Java Doc)
public
void prevalidate(
ValidationContext
vctx)
(Code)
(Java Doc)
public
void setDeclaredType(
String
type)
(Code)
(Java Doc)
public
void setFieldName(
String
field)
(Code)
(Java Doc)
public
void setGetName(
String
get)
(Code)
(Java Doc)
public
void setName(
String
name)
(Code)
(Java Doc)
public
void setPrefix(
String
prefix)
(Code)
(Java Doc)
public
void setSetName(
String
set)
(Code)
(Java Doc)
public
void setTestName(
String
test)
(Code)
(Java Doc)
public
void setUri(
String
uri)
(Code)
(Java Doc)
public
void setUsageName(
String
name)
(Code)
(Java Doc)
public
void validate(
ValidationContext
vctx)
(Code)
(Java Doc)
Fields inherited from
org.jibx.binding.model.ContainerElementBase
final
public
static
StringArray
s_allowedAttributes
(Code)
(Java Doc)
Methods inherited from
org.jibx.binding.model.ContainerElementBase
protected
void checkCompatibleChildren(
ValidationContext
vctx,
IClass
type,
ArrayList
children)
(Code)
(Java Doc)
protected
void classifyComponents(
ValidationContext
vctx)
(Code)
(Java Doc)
public
ArrayList
getAttributeComponents()
(Code)
(Java Doc)
public
IClass
getChildObjectType()
(Code)
(Java Doc)
public
ArrayList
getContentComponents()
(Code)
(Java Doc)
public
IClass
getCreateClass()
(Code)
(Java Doc)
public
String
getCreateType()
(Code)
(Java Doc)
public
IClassItem
getFactory()
(Code)
(Java Doc)
public
String
getFactoryName()
(Code)
(Java Doc)
public
IComponent
getId()
(Code)
(Java Doc)
public
String
getLabel()
(Code)
(Java Doc)
public
IClass
getMarshaller()
(Code)
(Java Doc)
public
String
getMarshallerName()
(Code)
(Java Doc)
abstract
public
IClass
getObjectType()
(Code)
(Java Doc)
public
IClassItem
getPostset()
(Code)
(Java Doc)
public
String
getPostsetName()
(Code)
(Java Doc)
public
IClassItem
getPreget()
(Code)
(Java Doc)
public
String
getPregetName()
(Code)
(Java Doc)
public
IClassItem
getPreset()
(Code)
(Java Doc)
public
String
getPresetName()
(Code)
(Java Doc)
public
IClass
getUnmarshaller()
(Code)
(Java Doc)
public
String
getUnmarshallerName()
(Code)
(Java Doc)
public
String
getUsing()
(Code)
(Java Doc)
abstract
public
boolean hasObject()
(Code)
(Java Doc)
public
boolean isAllowRepeats()
(Code)
(Java Doc)
public
boolean isChoice()
(Code)
(Java Doc)
protected
boolean isClassified()
(Code)
(Java Doc)
public
boolean isFlexible()
(Code)
(Java Doc)
public
boolean isNillable()
(Code)
(Java Doc)
public
boolean isOrdered()
(Code)
(Java Doc)
public
void prevalidate(
ValidationContext
vctx)
(Code)
(Java Doc)
public
void setAllowRepeats(boolean ignore)
(Code)
(Java Doc)
public
void setChoice(boolean choice)
(Code)
(Java Doc)
protected
void setComponents(
ArrayList
attribs,
ArrayList
contents)
(Code)
(Java Doc)
public
void setCreateType(
String
name)
(Code)
(Java Doc)
public
void setFactoryName(
String
name)
(Code)
(Java Doc)
public
void setFlexible(boolean flexible)
(Code)
(Java Doc)
final
public
void setIdChild(
IComponent
child,
ValidationContext
vctx)
(Code)
(Java Doc)
public
void setLabel(
String
label)
(Code)
(Java Doc)
public
void setMarshallerName(
String
name)
(Code)
(Java Doc)
public
void setNillable(boolean nillable)
(Code)
(Java Doc)
public
void setOrdered(boolean ordered)
(Code)
(Java Doc)
public
void setPostsetName(
String
name)
(Code)
(Java Doc)
public
void setPreget(
String
name)
(Code)
(Java Doc)
public
void setPresetName(
String
name)
(Code)
(Java Doc)
public
void setUnmarshallerName(
String
name)
(Code)
(Java Doc)
public
void setUsing(
String
label)
(Code)
(Java Doc)
public
void validate(
ValidationContext
vctx)
(Code)
(Java Doc)
protected
void verifyConstruction(
ValidationContext
vctx,
IClass
type)
(Code)
(Java Doc)
Fields inherited from
org.jibx.binding.model.NestingElementBase
final
public
static
StringArray
s_allowedAttributes
(Code)
(Java Doc)
Methods inherited from
org.jibx.binding.model.NestingElementBase
final
public
void addChild(
Object
child)
(Code)
(Java Doc)
final
public
Iterator
childIterator()
(Code)
(Java Doc)
final
public
ArrayList
children()
(Code)
(Java Doc)
public
int getDefaultStyle()
(Code)
(Java Doc)
final
public
DefinitionContext
getDefinitions()
(Code)
(Java Doc)
public
int getStyle()
(Code)
(Java Doc)
public
String
getStyleName()
(Code)
(Java Doc)
public
void prevalidate(
ValidationContext
vctx)
(Code)
(Java Doc)
void setDefinitions(
DefinitionContext
ctx)
(Code)
(Java Doc)
public
void setStyleName(
String
name)
(Code)
(Java Doc)
public
void validate(
ValidationContext
vctx)
(Code)
(Java Doc)
Fields inherited from
org.jibx.binding.model.ElementBase
final
public
static int BINDING_ELEMENT
(Code)
(Java Doc)
final
public
static int COLLECTION_ELEMENT
(Code)
(Java Doc)
final
public
static
String
[] ELEMENT_NAMES
(Code)
(Java Doc)
final
public
static int FORMAT_ELEMENT
(Code)
(Java Doc)
final
public
static int INCLUDE_ELEMENT
(Code)
(Java Doc)
final
public
static int INPUT_ELEMENT
(Code)
(Java Doc)
final
public
static int MAPPING_ELEMENT
(Code)
(Java Doc)
final
public
static int NAMESPACE_ELEMENT
(Code)
(Java Doc)
final
public
static int OUTPUT_ELEMENT
(Code)
(Java Doc)
final
public
static int SPLIT_ELEMENT
(Code)
(Java Doc)
final
public
static int STRUCTURE_ELEMENT
(Code)
(Java Doc)
final
public
static int TEMPLATE_ELEMENT
(Code)
(Java Doc)
final
public
static int VALUE_ELEMENT
(Code)
(Java Doc)
Methods inherited from
org.jibx.binding.model.ElementBase
final
public
String
getComment()
(Code)
(Java Doc)
final
public
String
name()
(Code)
(Java Doc)
public
void prevalidate(
ValidationContext
vctx)
(Code)
(Java Doc)
final
public
void setComment(
String
text)
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final
public
int type()
(Code)
(Java Doc)
public
void validate(
ValidationContext
vctx)
(Code)
(Java Doc)
protected
void validateAttributes(
IUnmarshallingContext
ictx,
StringArray
attrs) throws
JiBXException
(Code)
(Java Doc)
Methods inherited from
java.lang.Object
native
protected
Object
clone() throws
CloneNotSupportedException
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
protected
void finalize() throws
Throwable
(Code)
(Java Doc)
final native
public
Class
> getClass()
(Code)
(Java Doc)
native
public
int hashCode()
(Code)
(Java Doc)
final native
public
void notify()
(Code)
(Java Doc)
final native
public
void notifyAll()
(Code)
(Java Doc)
public
String
toString()
(Code)
(Java Doc)
final native
public
void wait(long timeout) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait(long timeout, int nanos) throws
InterruptedException
(Code)
(Java Doc)
final
public
void wait() throws
InterruptedException
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.