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

FormatElement
public class FormatElement extends ElementBase (Code)
Model component for format element. This element defines conversion to and from simple unstructured text representations.
author:
   Dennis M. Sosnoski
version:
   1.0


Field Summary
final public static  StringArrays_allowedAttributes
    

Constructor Summary
public  FormatElement()
     Constructor.

Method Summary
public  FormatElementgetBaseFormat()
     Get base format information.
public  ObjectgetDefault()
     Get default value.
public  StringgetDefaultText()
     Get default value text.
public  IClassItemgetDeserializer()
     Get deserializer method information.
public  StringgetDeserializerName()
     Get deserializer name.
public  StringgetLabel()
     Get format label.
public  QNamegetQName()
     Get format qualified name.
public  IClassItemgetSerializer()
     Get serializer method information.
public  StringgetSerializerName()
     Get serializer name.
public  IClassgetType()
     Get value type.
public  StringgetTypeName()
     Get value type name.
public  booleanisDefaultFormat()
     Check if default format for type.
public  voidprevalidate(ValidationContext vctx)
     Prevalidate attributes of element in isolation.
public  voidsetDefaultFormat(boolean dflt)
     Set default format for type.
public  voidsetDefaultText(String value)
     Set default value text.
public  voidsetDeserializerName(String name)
     Set deserializer method name.
public  voidsetLabel(String label)
     Set format label.
public  voidsetQName(QName qname)
     Set format qualified name.
public  voidsetSerializerName(String name)
     Set serializer method name.
public  voidsetTypeName(String value)
     Set value type name.
public  voidvalidate(ValidationContext vctx)
    

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




Constructor Detail
FormatElement
public FormatElement()(Code)
Constructor.




Method Detail
getBaseFormat
public FormatElement getBaseFormat()(Code)
Get base format information. This method is only usable after a call to FormatElement.validate . base format element (or null if none)



getDefault
public Object getDefault()(Code)
Get default value. This call is only meaningful after validation. default value object



getDefaultText
public String getDefaultText()(Code)
Get default value text. default value text



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



getDeserializerName
public String getDeserializerName()(Code)
Get deserializer name. fully qualified class and method name for deserializer (ornull if none)



getLabel
public String getLabel()(Code)
Get format label. format label (null if none)



getQName
public QName getQName()(Code)
Get format qualified name. format qualified name (null if none)



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



getSerializerName
public String getSerializerName()(Code)
Get serializer name. fully qualified class and method name for serializer (ornull if none)



getType
public IClass getType()(Code)
Get value type. This method is only usable after a call to FormatElement.validate . default value object



getTypeName
public String getTypeName()(Code)
Get value type name. value type name



isDefaultFormat
public boolean isDefaultFormat()(Code)
Check if default format for type. true if default for type, false if not



prevalidate
public void prevalidate(ValidationContext vctx)(Code)
Prevalidate attributes of element in isolation. Note that this adds the format information to the context, which is necessary because the string attributes for values need to have access to the format information for their own prevalidation. This is the only type of registration which is done during the prevalidation pass.
Parameters:
  vctx - validation context



setDefaultFormat
public void setDefaultFormat(boolean dflt)(Code)
Set default format for type.
Parameters:
  dflt - true if default for type, false ifnot



setDefaultText
public void setDefaultText(String value)(Code)
Set default value text.
Parameters:
  value - default value text



setDeserializerName
public void setDeserializerName(String name)(Code)
Set deserializer method name.
Parameters:
  fully - qualified class and method name for deserializer



setLabel
public void setLabel(String label)(Code)
Set format label. This method changes the qualified name to match the label.
Parameters:
  label - format label (null if none)



setQName
public void setQName(QName qname)(Code)
Set format qualified name. This method changes the label value to match the qualified name. format qualified name (null if none)



setSerializerName
public void setSerializerName(String name)(Code)
Set serializer method name.
Parameters:
  fully - qualified class and method name for serializer



setTypeName
public void setTypeName(String value)(Code)
Set value type name.
Parameters:
  value - type name



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.