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

All known Subclasses:   org.jibx.binding.model.BindingElement,  org.jibx.binding.model.ContainerElementBase,  org.jibx.binding.model.SplitElement,  org.jibx.binding.model.OutputElement,  org.jibx.binding.model.IncludeElement,  org.jibx.binding.model.InputElement,
NestingElementBase
abstract public class NestingElementBase extends ElementBase (Code)
Model component for elements that can contain other component elements. TODO: The list of child elements here conflicts with that in BindingElement; should change the type hierarchy to better reflect usage
author:
   Dennis M. Sosnoski


Field Summary
final public static  StringArrays_allowedAttributes
    

Constructor Summary
protected  NestingElementBase(int type)
     Constructor.

Method Summary
final public  voidaddChild(Object child)
     Add child element.
final public  IteratorchildIterator()
     Get iterator for child elements.
final public  ArrayListchildren()
     Get list of child elements.
public  intgetDefaultStyle()
     Get default style value for child components.
final public  DefinitionContextgetDefinitions()
     Get definition context.
public  intgetStyle()
     Get style value set on this nesting element.
public  StringgetStyleName()
     Get style name set on this nesting element.
public  voidprevalidate(ValidationContext vctx)
    
 voidsetDefinitions(DefinitionContext ctx)
     Set definition context.
public  voidsetStyleName(String name)
     Set style name on this nesting element.
public  voidvalidate(ValidationContext vctx)
    

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




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




Method Detail
addChild
final public void addChild(Object child)(Code)
Add child element. TODO: should be ElementBase argument, but JiBX doesn't allow yet
Parameters:
  child - element to be added as child of this element



childIterator
final public Iterator childIterator()(Code)
Get iterator for child elements. iterator for child elements



children
final public ArrayList children()(Code)
Get list of child elements. list of child elements (never null)



getDefaultStyle
public int getDefaultStyle()(Code)
Get default style value for child components. This call is only meaningful after validation. default style value for child components (-1 if notdefined at this level)



getDefinitions
final public DefinitionContext getDefinitions()(Code)
Get definition context. definition context, or null if no definition contextfor this element



getStyle
public int getStyle()(Code)
Get style value set on this nesting element. This call is only meaningful after validation. style value (-1 if undefined at this level)



getStyleName
public String getStyleName()(Code)
Get style name set on this nesting element. style string value (null if undefined at this level)



prevalidate
public void prevalidate(ValidationContext vctx)(Code)



setDefinitions
void setDefinitions(DefinitionContext ctx)(Code)
Set definition context.
Parameters:
  ctx - definition context to be set



setStyleName
public void setStyleName(String name)(Code)
Set style name on this nesting element.
Parameters:
  name - style name (null to undefine style at thislevel)



validate
public void validate(ValidationContext vctx)(Code)



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.