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

ValueElement
public class ValueElement extends ElementBase implements IComponent(Code)
Model component for value element. This element defines a value that can be represented as a simple text string, which may be expressed as an attribute, element, or text component of the XML document.
author:
   Dennis M. Sosnoski


Field Summary
final public static  intCDATA_STYLE
    
final public static  intDEF_IDENT
    
final public static  intNONE_IDENT
    
final public static  intREF_IDENT
    
final public static  intTEXT_STYLE
    
final public static  StringArrays_allowedAttributes
    
final static  EnumSets_identEnum
    

Constructor Summary
public  ValueElement()
     Constructor.

Method Summary
public  StringgetConstantValue()
     Get constant value.
public  StringgetDeclaredType()
     Get declared type name.
public  ObjectgetDefault()
     Get default value.
public  StringgetDefaultText()
     Get default value text.
public  IClassItemgetDeserializer()
     Get deserializer method information.
public  StringgetDeserializerName()
     Get deserializer name.
public  StringgetEffectiveStyleName()
     Get name for style that applies to this value.
public  IClassItemgetField()
     Get field information.
public  StringgetFieldName()
     Get field name.
public  StringgetFormatName()
     Get base format name.
public  QNamegetFormatQName()
     Get format qualified name.
public  IClassItemgetGet()
     Get get method information.
public  StringgetGetName()
     Get get method name.
public  IClassgetGetType()
     Get type for value loaded to stack.
public  intgetIdent()
     Get identity value.
public  StringgetIdentName()
     Get identity string value.
public  StringgetName()
     Get name.
public  NamespaceElementgetNamespace()
     Get effective namespace information.
public  StringgetPrefix()
     Get specified namespace prefix.
public  IClassItemgetSerializer()
     Get serializer method information.
public  StringgetSerializerName()
     Get serializer name.
public  IClassItemgetSet()
     Get set method information.
public  StringgetSetName()
     Get set method name.
public  IClassgetSetType()
     Get type for value stored from stack.
public  intgetStyle()
     Get style value.
public  StringgetStyleName()
     Get style string value.
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  booleanhasProperty()
     Check if property is defined.
public  booleanisImplicit()
     Check if this value implicitly uses the containing object.
public  booleanisNillable()
     Check if nillable object.
public  booleanisOptional()
    
public  voidprevalidate(ValidationContext vctx)
    
public  voidsetConstantValue(String value)
     Set constant value.
public  voidsetDeclaredType(String type)
     Set declared type name.
public  voidsetDefaultText(String value)
     Set default value text.
public  voidsetDeserializerName(String name)
     Set deserializer method name.
public  voidsetEffectiveStyle(int style)
     Set style that applies to this value.
public  voidsetFieldName(String field)
     Set field name.
public  voidsetFormatName(String name)
     Set base format name.
public  voidsetFormatQName(QName qname)
     Set format qualified name.
public  voidsetGetName(String get)
     Set get method name.
public  voidsetIdentName(String name)
     Set identity name.
public  voidsetName(String name)
     Set name.
public  voidsetNillable(boolean nillable)
     Set nillable flag.
public  voidsetPrefix(String prefix)
     Set namespace prefix.
public  voidsetSerializerName(String name)
     Set serializer method name.
public  voidsetSetName(String set)
     Set set method name.
public  voidsetStyleName(String name)
     Set style name.
public  voidsetTestName(String test)
     Set test method name.
public  voidsetUri(String uri)
     Set namespace URI.
public  voidsetUsage(int use)
     Set usage value.
public  voidsetUsageName(String name)
     Set usage name.
public  voidvalidate(ValidationContext vctx)
    

Field Detail
CDATA_STYLE
final public static int CDATA_STYLE(Code)



DEF_IDENT
final public static int DEF_IDENT(Code)



NONE_IDENT
final public static int NONE_IDENT(Code)



REF_IDENT
final public static int REF_IDENT(Code)



TEXT_STYLE
final public static int TEXT_STYLE(Code)



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



s_identEnum
final static EnumSet s_identEnum(Code)




Constructor Detail
ValueElement
public ValueElement()(Code)
Constructor.




Method Detail
getConstantValue
public String getConstantValue()(Code)
Get constant value. constant value, or null if not a constant



getDeclaredType
public String getDeclaredType()(Code)
Get declared type name. This call is only meaningful after validation. type name (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)



getEffectiveStyleName
public String getEffectiveStyleName()(Code)
Get name for style that applies to this value. This call is only meaningful after validation. name for style



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)



getFormatName
public String getFormatName()(Code)
Get base format name. referenced base format



getFormatQName
public QName getFormatQName()(Code)
Get format qualified name. format qualified name (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)



getIdent
public int getIdent()(Code)
Get identity value. This call is only meaningful after validation. identity value



getIdentName
public String getIdentName()(Code)
Get identity string value. identity string value



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



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



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)



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)



getStyle
public int getStyle()(Code)
Get style value. This call is only meaningful after validation. style value



getStyleName
public String getStyleName()(Code)
Get style string value. style string value



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)



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 value implicitly uses the containing object. This call is only meaningful after prevalidation. true if using the containing object,false if own value



isNillable
public boolean isNillable()(Code)
Check if nillable object. nillable flag



isOptional
public boolean isOptional()(Code)



prevalidate
public void prevalidate(ValidationContext vctx)(Code)



setConstantValue
public void setConstantValue(String value)(Code)
Set constant value.
Parameters:
  value - constant value, or null if not a constant



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



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



setEffectiveStyle
public void setEffectiveStyle(int style)(Code)
Set style that applies to this value. If the specified style is different from the nested default it is applied directly, otherwise this value is configured to use the default. This method should therefore only be used when the nested settings are considered fixed. TODO: implement this with parent links
Parameters:
  style - style value



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



setFormatName
public void setFormatName(String name)(Code)
Set base format name.
Parameters:
  name - referenced base format



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



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



setIdentName
public void setIdentName(String name)(Code)
Set identity name.
Parameters:
  name - identity name



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



setNillable
public void setNillable(boolean nillable)(Code)
Set nillable flag.
Parameters:
  nillable - flag



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



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



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



setStyleName
public void setStyleName(String name)(Code)
Set style name.
Parameters:
  name - style name (null if to use inherited default)



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)



setUsage
public void setUsage(int use)(Code)
Set usage value.
Parameters:
  use - value



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.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.