Java Doc for StructureElementBase.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

All known Subclasses:   org.jibx.binding.model.StructureElement,  org.jibx.binding.model.CollectionElement,
StructureElementBase
abstract public class StructureElementBase extends ContainerElementBase implements IComponent(Code)
Model component for elements that define the binding structure for an object property. This is the base class for structure and collection elements.
author:
   Dennis M. Sosnoski


Field Summary
final public static  StringArrays_allowedAttributes
    

Constructor Summary
protected  StructureElementBase(int type)
     Constructor.

Method Summary
public  StringgetDeclaredType()
     Get declared type name.
public  IClassItemgetField()
     Get field information.
public  StringgetFieldName()
     Get field name.
public  IClassItemgetGet()
     Get get method information.
public  StringgetGetName()
     Get get method name.
public  IClassgetGetType()
     Get type for value loaded to stack.
public  StringgetName()
     Get name.
public  NamespaceElementgetNamespace()
     Get effective namespace information.
public  IClassgetObjectType()
    
public  StringgetPrefix()
     Get specified namespace prefix.
public  IClassItemgetSet()
     Get set method information.
public  StringgetSetName()
     Get set method name.
public  IClassgetSetType()
     Get type for value stored from stack.
public  IClassItemgetTest()
     Get test method information.
public  StringgetTestName()
     Get test method name.
public  IClassgetType()
    
public  StringgetUri()
     Get specified namespace URI.
public  intgetUsage()
     Get usage value.
public  StringgetUsageName()
     Get usage name.
public  booleanhasAttribute()
    
public  booleanhasContent()
    
public  booleanhasName()
    
public  booleanhasObject()
    
public  booleanhasProperty()
     Check if property is defined.
public  booleanisImplicit()
     Check if this structure implicitly uses the containing object.
public  booleanisOptional()
    
public  voidprevalidate(ValidationContext vctx)
    
public  voidsetDeclaredType(String type)
     Set declared type name.
public  voidsetFieldName(String field)
     Set field name.
public  voidsetGetName(String get)
     Set get method name.
public  voidsetName(String name)
     Set name.
public  voidsetPrefix(String prefix)
     Set namespace prefix.
public  voidsetSetName(String set)
     Set set method name.
public  voidsetTestName(String test)
     Set test method name.
public  voidsetUri(String uri)
     Set namespace URI.
public  voidsetUsageName(String name)
     Set usage name.
public  voidvalidate(ValidationContext vctx)
    

Field Detail
s_allowedAttributes
final public static StringArray s_allowedAttributes(Code)
Enumeration of allowed attribute names




Constructor Detail
StructureElementBase
protected StructureElementBase(int type)(Code)
Constructor.
Parameters:
  type - element type code




Method Detail
getDeclaredType
public String getDeclaredType()(Code)
Get declared type name. type name (or null if none)



getField
public IClassItem getField()(Code)
Get field information. This call is only meaningful after validation. field information (or null if none)



getFieldName
public String getFieldName()(Code)
Get field name. field name (or null if none)



getGet
public IClassItem getGet()(Code)
Get get method information. This call is only meaningful after validation. get method information (or null if none)



getGetName
public String getGetName()(Code)
Get get method name. get method name (or null if none)



getGetType
public IClass getGetType()(Code)
Get type for value loaded to stack. This call is only meaningful after validation. get value type (or null if none)



getName
public String getName()(Code)
Get name. name text



getNamespace
public NamespaceElement getNamespace()(Code)
Get effective namespace information. This call is only meaningful after validation. effective namespace information



getObjectType
public IClass getObjectType()(Code)



getPrefix
public String getPrefix()(Code)
Get specified namespace prefix. namespace prefix (null if not set)



getSet
public IClassItem getSet()(Code)
Get set method information. This call is only meaningful after validation. set method information (or null if none)



getSetName
public String getSetName()(Code)
Get set method name. set method name (or null if none)



getSetType
public IClass getSetType()(Code)
Get type for value stored from stack. This call is only meaningful after validation. set value type (or null if none)



getTest
public IClassItem getTest()(Code)
Get test method information. This call is only meaningful after validation. test method information (or null if none)



getTestName
public String getTestName()(Code)
Get test method name. test method name (or null if none)



getType
public IClass getType()(Code)



getUri
public String getUri()(Code)
Get specified namespace URI. namespace URI (null if not set)



getUsage
public int getUsage()(Code)
Get usage value. This call is only meaningful after validation. usage value



getUsageName
public String getUsageName()(Code)
Get usage name. usage name



hasAttribute
public boolean hasAttribute()(Code)



hasContent
public boolean hasContent()(Code)



hasName
public boolean hasName()(Code)



hasObject
public boolean hasObject()(Code)



hasProperty
public boolean hasProperty()(Code)
Check if property is defined. This method is only meaningful after validation. true if property defined, false if not



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
See Also:   org.jibx.binding.model.ContainerElementBase.isImplicit



isOptional
public boolean isOptional()(Code)



prevalidate
public void prevalidate(ValidationContext vctx)(Code)



setDeclaredType
public void setDeclaredType(String type)(Code)
Set declared type name.
Parameters:
  type - name (or null if none)



setFieldName
public void setFieldName(String field)(Code)
Set field name.
Parameters:
  field - field name (or null if none)



setGetName
public void setGetName(String get)(Code)
Set get method name.
Parameters:
  get - get method name (or null if none)



setName
public void setName(String name)(Code)
Set name.
Parameters:
  name - text for name



setPrefix
public void setPrefix(String prefix)(Code)
Set namespace prefix.
Parameters:
  prefix - namespace prefix (null if not set)



setSetName
public void setSetName(String set)(Code)
Set set method name.
Parameters:
  set - set method name (or null if none)



setTestName
public void setTestName(String test)(Code)
Set test method name.
Parameters:
  test - test method name (or null if none)



setUri
public void setUri(String uri)(Code)
Set namespace URI.
Parameters:
  uri - namespace URI (null if not set)



setUsageName
public void setUsageName(String name)(Code)
Set usage name.
Parameters:
  name - usage name



validate
public void validate(ValidationContext vctx)(Code)



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.