Java Doc for XmlElementHome.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » metaobj » shared » mgt » home » 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 » ERP CRM Financial » sakai » org.sakaiproject.metaobj.shared.mgt.home 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.sakaiproject.metaobj.shared.mgt.home.XmlElementHome

All known Subclasses:   org.sakaiproject.metaobj.shared.mgt.home.StructuredArtifactHome,
XmlElementHome
public class XmlElementHome implements StructuredArtifactHomeInterface,InitializingBean,ResourceLoaderAware(Code)
Created by IntelliJ IDEA. User: John Ellis Date: Apr 9, 2004 Time: 1:22:35 PM To change this template use File | Settings | File Templates.


Field Summary
final public static  StringXML_HOME_PATH
    
final public static  StringXSD_DIR
    
final protected  Loglogger
    

Constructor Summary
public  XmlElementHome()
    
public  XmlElementHome(String rootNode)
    

Method Summary
public  voidafterPropertiesSet()
     Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).
public  ArtifactcloneArtifact(Artifact copy, String newName)
    
public  ArtifactcreateInstance()
    
public  ArtifactcreateSample()
    
public  CollectionfindByOwner(Agent owner)
    
public  ElementgetArtifactAsXml(Artifact art)
    
public  byte[]getBytes(StructuredArtifact artifact)
    
public  StringgetDocumentRoot()
    
public  StringgetExternalType()
    
public  StringgetExternalUri(Id artifactId, String name)
    
public  IdManagergetIdManager()
    
public  StringgetInstruction()
    
public  ClassgetInterface()
    
public  DategetModified()
    
public  StringgetRootNode()
    
public  SchemaNodegetRootSchema()
    
public  SchemaNodegetSchema()
    
protected  FilegetSchemaFile(String schemaFileName)
    
public  StringgetSchemaFileName()
    
public  StringgetSiteId()
    
public  InputStreamgetStream(Id artifactId)
    
public  TypegetType()
    
public  StringgetTypeId()
    
public  booleanisInstance(Artifact testObject)
    
public  booleanisSystemOnly()
    
public  Artifactload(Id id)
    
public  StructuredArtifactload(ContentResource resource)
    
protected  Artifactload(String id)
    
protected  StringpathToWebInf()
    
public  voidprepareInstance(Artifact object)
    
public  voidrefresh()
    
public  voidremove(Artifact object)
    
public  voidsetIdManager(IdManager idManager)
    
public  voidsetInstruction(String instruction)
    
public  voidsetModified(Date schemaDate)
    
public  voidsetResourceLoader(ResourceLoader resourceLoader)
    
public  voidsetRootNode(String rootNode)
    
public  voidsetSchema(SchemaNode schema)
    
public  voidsetSchemaFileName(String schemaFileName)
    
public  voidsetType(Type type)
    
public  voidsetTypeId(String typeId)
    
public  Artifactstore(Artifact object)
    
public  Artifactstore(String displayName, String contentType, Type type, InputStream in)
    
public  Artifactupdate(Artifact object, InputStream in)
    

Field Detail
XML_HOME_PATH
final public static String XML_HOME_PATH(Code)



XSD_DIR
final public static String XSD_DIR(Code)



logger
final protected Log logger(Code)




Constructor Detail
XmlElementHome
public XmlElementHome()(Code)



XmlElementHome
public XmlElementHome(String rootNode)(Code)




Method Detail
afterPropertiesSet
public void afterPropertiesSet() throws Exception(Code)
Invoked by a BeanFactory after it has set all bean properties supplied (and satisfied BeanFactoryAware and ApplicationContextAware).

This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
throws:
  Exception - in the event of misconfiguration (suchas failure to set an essential property) or if initialization fails.




cloneArtifact
public Artifact cloneArtifact(Artifact copy, String newName) throws PersistenceException(Code)



createInstance
public Artifact createInstance()(Code)



createSample
public Artifact createSample()(Code)



findByOwner
public Collection findByOwner(Agent owner) throws FinderException(Code)



getArtifactAsXml
public Element getArtifactAsXml(Artifact art)(Code)



getBytes
public byte[] getBytes(StructuredArtifact artifact)(Code)



getDocumentRoot
public String getDocumentRoot()(Code)



getExternalType
public String getExternalType()(Code)



getExternalUri
public String getExternalUri(Id artifactId, String name)(Code)



getIdManager
public IdManager getIdManager()(Code)



getInstruction
public String getInstruction()(Code)



getInterface
public Class getInterface()(Code)



getModified
public Date getModified()(Code)



getRootNode
public String getRootNode()(Code)



getRootSchema
public SchemaNode getRootSchema()(Code)



getSchema
public SchemaNode getSchema()(Code)



getSchemaFile
protected File getSchemaFile(String schemaFileName)(Code)



getSchemaFileName
public String getSchemaFileName()(Code)



getSiteId
public String getSiteId()(Code)



getStream
public InputStream getStream(Id artifactId)(Code)



getType
public Type getType()(Code)



getTypeId
public String getTypeId()(Code)



isInstance
public boolean isInstance(Artifact testObject)(Code)



isSystemOnly
public boolean isSystemOnly()(Code)



load
public Artifact load(Id id) throws PersistenceException(Code)



load
public StructuredArtifact load(ContentResource resource)(Code)



load
protected Artifact load(String id) throws PersistenceException(Code)



pathToWebInf
protected String pathToWebInf()(Code)



prepareInstance
public void prepareInstance(Artifact object)(Code)



refresh
public void refresh()(Code)



remove
public void remove(Artifact object) throws PersistenceException(Code)



setIdManager
public void setIdManager(IdManager idManager)(Code)



setInstruction
public void setInstruction(String instruction)(Code)



setModified
public void setModified(Date schemaDate)(Code)



setResourceLoader
public void setResourceLoader(ResourceLoader resourceLoader)(Code)



setRootNode
public void setRootNode(String rootNode)(Code)



setSchema
public void setSchema(SchemaNode schema)(Code)



setSchemaFileName
public void setSchemaFileName(String schemaFileName)(Code)



setType
public void setType(Type type)(Code)



setTypeId
public void setTypeId(String typeId)(Code)



store
public Artifact store(Artifact object) throws PersistenceException(Code)



store
public Artifact store(String displayName, String contentType, Type type, InputStream in) throws PersistenceException(Code)



update
public Artifact update(Artifact object, InputStream in) throws PersistenceException(Code)



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.