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

All known Subclasses:   org.jibx.binding.model.MappingElement,  org.jibx.binding.model.TemplateElement,
TemplateElementBase
abstract public class TemplateElementBase extends ContainerElementBase (Code)
Model component for elements that define how instances of a particular class are converted to or from XML. This includes both mapping and template elements.
author:
   Dennis M. Sosnoski


Field Summary
protected  ArrayListm_topChildren
     List of child elements.
final public static  StringArrays_allowedAttributes
    

Constructor Summary
public  TemplateElementBase(int type)
     Constructor.

Method Summary
protected  voidaddExtensionType(TemplateElementBase ext)
     Add template or mapping which derives from this one.
public  voidaddTopChild(Object child)
     Add top-level child element.
public  StringgetClassName()
     Get mapped class name.
public  ArrayListgetExtensionTypes()
     Get templates or mappings which derive from this one.
public  IClassgetHandledClass()
     Get handled class information.
public  IClassgetObjectType()
    
public  IClassgetType()
    
public  booleanhasObject()
    
abstract public  booleanisDefaultTemplate()
     Check if default template for type.
public  booleanisImplicit()
    
public  booleanisOptional()
    
public  voidprevalidate(ValidationContext vctx)
    
public  voidsetClassName(String name)
     Set mapped class name.
public  IteratortopChildIterator()
     Get iterator for top-level child elements.
public  ArrayListtopChildren()
     Get list of top-level child elements.
public  voidvalidate(ValidationContext vctx)
    

Field Detail
m_topChildren
protected ArrayList m_topChildren(Code)
List of child elements.



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




Constructor Detail
TemplateElementBase
public TemplateElementBase(int type)(Code)
Constructor.
Parameters:
  type - element type code




Method Detail
addExtensionType
protected void addExtensionType(TemplateElementBase ext)(Code)
Add template or mapping which derives from this one.
Parameters:
  ext - derived template or mapping information



addTopChild
public void addTopChild(Object child)(Code)
Add top-level child element.
Parameters:
  child - element to be added as child of this element



getClassName
public String getClassName()(Code)
Get mapped class name. class name



getExtensionTypes
public ArrayList getExtensionTypes()(Code)
Get templates or mappings which derive from this one. list of derived templates or mappings



getHandledClass
public IClass getHandledClass()(Code)
Get handled class information. This call is only meaningful after prevalidation. mapped class information



getObjectType
public IClass getObjectType()(Code)



getType
public IClass getType()(Code)



hasObject
public boolean hasObject()(Code)



isDefaultTemplate
abstract public boolean isDefaultTemplate()(Code)
Check if default template for type. Needs to be implemented by subclasses for common handling. true if default for type, false if not



isImplicit
public boolean isImplicit()(Code)



isOptional
public boolean isOptional()(Code)



prevalidate
public void prevalidate(ValidationContext vctx)(Code)



setClassName
public void setClassName(String name)(Code)
Set mapped class name.
Parameters:
  name - mapped class name



topChildIterator
public Iterator topChildIterator()(Code)
Get iterator for top-level child elements. iterator for child elements



topChildren
public ArrayList topChildren()(Code)
Get list of top-level child elements. list of child elements, or null if none



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.