Java Doc for MetaData.java in  » EJB-Server-JBoss-4.2.1 » server » org » jboss » metadata » 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 » EJB Server JBoss 4.2.1 » server » org.jboss.metadata 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.metadata.MetaData

All known Subclasses:   org.jboss.metadata.MethodMetaData,  org.jboss.metadata.MessageDestinationMetaData,  org.jboss.metadata.EnvEntryMetaData,  org.jboss.metadata.ConfigurationMetaData,  org.jboss.deployment.J2eeModuleMetaData,  org.jboss.metadata.BeanMetaData,  org.jboss.metadata.AssemblyDescriptorMetaData,  org.jboss.metadata.EjbLocalRefMetaData,  org.jboss.metadata.WebMetaData,  org.jboss.metadata.CacheInvalidationConfigMetaData,  org.jboss.metadata.SecurityRoleRefMetaData,  org.jboss.metadata.ResourceRefMetaData,  org.jboss.metadata.ApplicationMetaData,  org.jboss.metadata.EjbRefMetaData,  org.jboss.deployment.J2eeApplicationMetaData,  org.jboss.metadata.MessageDestinationRefMetaData,  org.jboss.metadata.ActivationConfigPropertyMetaData,  org.jboss.metadata.ClusterConfigMetaData,  org.jboss.metadata.ResourceEnvRefMetaData,  org.jboss.metadata.QueryMetaData,  org.jboss.metadata.InvokerProxyBindingMetaData,  org.jboss.metadata.RelationMetaData,  org.jboss.metadata.RelationshipRoleMetaData,  org.jboss.metadata.SecurityIdentityMetaData,
MetaData
abstract public class MetaData implements Cloneable,XmlLoadable(Code)
An abstract base class for metadata containers.
author:
   Sebastien Alborini
version:
   $Revision: 57209 $


Field Summary
final public static  byteTX_MANDATORY
    
final public static  byteTX_NEVER
    
final public static  byteTX_NOT_SUPPORTED
    
final public static  byteTX_REQUIRED
    
final public static  byteTX_REQUIRES_NEW
    
final public static  byteTX_SUPPORTS
    
final public static  byteTX_UNKNOWN
    
protected static  Loggerlog
    


Method Summary
public  Objectclone()
     Create a field wise copy of the object.
public static  IteratorgetChildrenByTagName(Element element, String tagName)
     Returns an iterator over the children of the given element with the given tag name.
public static  StringgetElementAttribute(Element element, String attrName)
     Get an attribute value of the given element.
public static  StringgetElementAttribute(Element element, String attrName, boolean replace)
     Get an attribute value of the given element.
public static  StringgetElementContent(Element element)
     Get the content of the given element.
Parameters:
  element - The element to get the content for.
public static  StringgetElementContent(Element element, String defaultStr)
     Get the content of the given element.
Parameters:
  element - The element to get the content for.
Parameters:
  defaultStr - The default to return when there is no content.
public static  StringgetElementContent(Element element, String defaultStr, boolean replace)
     Get the content of the given element.
public static  StringgetFirstElementContent(Element element, String defaultStr)
    
public static  StringgetFirstElementContent(Element element, String defaultStr, boolean replace)
    
public static  ElementgetOptionalChild(Element element, String tagName)
     Gets the child of the specified element having the specified name.
public static  ElementgetOptionalChild(Element element, String tagName, Element defaultElement)
     Gets the child of the specified element having the specified name.
public static  booleangetOptionalChildBooleanContent(Element element, String name)
    
public static  booleangetOptionalChildBooleanContent(Element element, String name, boolean defaultValue)
    
public static  StringgetOptionalChildContent(Element element, String tagName)
     Macro to get the content of an optional child element.
Parameters:
  element - The parent element.
Parameters:
  tagName - The name of the desired child.
public static  StringgetOptionalChildContent(Element element, String tagName, String defaultValue)
     Macro to get the content of an optional child element with default value.
Parameters:
  element - The parent element.
Parameters:
  tagName - The name of the desired child.
public static  ElementgetUniqueChild(Element element, String tagName)
     Gets the child of the specified element having the specified unique name.
public static  StringgetUniqueChildContent(Element element, String tagName)
     Macro to get the content of a unique child element.
Parameters:
  element - The parent element.
Parameters:
  tagName - The name of the desired child.
public  voidimportEjbJarXml(Element element)
     Non-operation.
public  voidimportJbossXml(Element element)
     Non-operation.
public  voidimportXml(Element element)
     Imports either the jboss or ejb-jar from the given element.
protected  booleanjdk13Enabled()
     Check if we are running in a JDK v1.3 virtual machine or better.

Field Detail
TX_MANDATORY
final public static byte TX_MANDATORY(Code)



TX_NEVER
final public static byte TX_NEVER(Code)



TX_NOT_SUPPORTED
final public static byte TX_NOT_SUPPORTED(Code)



TX_REQUIRED
final public static byte TX_REQUIRED(Code)



TX_REQUIRES_NEW
final public static byte TX_REQUIRES_NEW(Code)



TX_SUPPORTS
final public static byte TX_SUPPORTS(Code)



TX_UNKNOWN
final public static byte TX_UNKNOWN(Code)



log
protected static Logger log(Code)





Method Detail
clone
public Object clone()(Code)
Create a field wise copy of the object.



getChildrenByTagName
public static Iterator getChildrenByTagName(Element element, String tagName)(Code)
Returns an iterator over the children of the given element with the given tag name.
Parameters:
  element - The parent element
Parameters:
  tagName - The name of the desired child An interator of children or null if element is null.



getElementAttribute
public static String getElementAttribute(Element element, String attrName)(Code)
Get an attribute value of the given element.
Parameters:
  element - The element to get the attribute value for.
Parameters:
  attrName - The attribute name The attribute value or null.



getElementAttribute
public static String getElementAttribute(Element element, String attrName, boolean replace)(Code)
Get an attribute value of the given element.
Parameters:
  element - The element to get the attribute value for.
Parameters:
  attrName - The attribute name
Parameters:
  replace - Whether to replace system properties The attribute value or null.



getElementContent
public static String getElementContent(Element element)(Code)
Get the content of the given element.
Parameters:
  element - The element to get the content for. The content of the element or null.



getElementContent
public static String getElementContent(Element element, String defaultStr)(Code)
Get the content of the given element.
Parameters:
  element - The element to get the content for.
Parameters:
  defaultStr - The default to return when there is no content. The content of the element or the default.



getElementContent
public static String getElementContent(Element element, String defaultStr, boolean replace)(Code)
Get the content of the given element.
Parameters:
  element - The element to get the content for.
Parameters:
  defaultStr - The default to return when there is no content.
Parameters:
  replace - Whether to replace system properties The content of the element or the default.



getFirstElementContent
public static String getFirstElementContent(Element element, String defaultStr)(Code)



getFirstElementContent
public static String getFirstElementContent(Element element, String defaultStr, boolean replace)(Code)



getOptionalChild
public static Element getOptionalChild(Element element, String tagName) throws DeploymentException(Code)
Gets the child of the specified element having the specified name. If the child with this name doesn't exist then null is returned instead.
Parameters:
  element - the parent element
Parameters:
  tagName - the name of the desired child either the named child or null



getOptionalChild
public static Element getOptionalChild(Element element, String tagName, Element defaultElement) throws DeploymentException(Code)
Gets the child of the specified element having the specified name. If the child with this name doesn't exist then the supplied default element is returned instead.
Parameters:
  element - the parent element
Parameters:
  tagName - the name of the desired child
Parameters:
  defaultElement - the element to return if the childdoesn't exist either the named child or the supplied default



getOptionalChildBooleanContent
public static boolean getOptionalChildBooleanContent(Element element, String name) throws DeploymentException(Code)



getOptionalChildBooleanContent
public static boolean getOptionalChildBooleanContent(Element element, String name, boolean defaultValue) throws DeploymentException(Code)



getOptionalChildContent
public static String getOptionalChildContent(Element element, String tagName) throws DeploymentException(Code)
Macro to get the content of an optional child element.
Parameters:
  element - The parent element.
Parameters:
  tagName - The name of the desired child. The element content or null.



getOptionalChildContent
public static String getOptionalChildContent(Element element, String tagName, String defaultValue) throws DeploymentException(Code)
Macro to get the content of an optional child element with default value.
Parameters:
  element - The parent element.
Parameters:
  tagName - The name of the desired child. The element content or null.



getUniqueChild
public static Element getUniqueChild(Element element, String tagName) throws DeploymentException(Code)
Gets the child of the specified element having the specified unique name. If there are more than one children elements with the same name and exception is thrown.
Parameters:
  element - The parent element
Parameters:
  tagName - The name of the desired child The named child.
throws:
  DeploymentException - Child was not found or was not unique.



getUniqueChildContent
public static String getUniqueChildContent(Element element, String tagName) throws DeploymentException(Code)
Macro to get the content of a unique child element.
Parameters:
  element - The parent element.
Parameters:
  tagName - The name of the desired child. The element content or null.



importEjbJarXml
public void importEjbJarXml(Element element) throws DeploymentException(Code)
Non-operation.
Parameters:
  element -
throws:
  DeploymentException -



importJbossXml
public void importJbossXml(Element element) throws DeploymentException(Code)
Non-operation.
Parameters:
  element -
throws:
  DeploymentException -



importXml
public void importXml(Element element) throws DeploymentException(Code)
Imports either the jboss or ejb-jar from the given element.
Parameters:
  element - The element to import.
throws:
  DeploymentException - Unrecognized root tag.



jdk13Enabled
protected boolean jdk13Enabled()(Code)
Check if we are running in a JDK v1.3 virtual machine or better. True if the virtual machine is v1.3 or better.



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.