Java Doc for ISchema.java in  » IDE-Eclipse » Eclipse-plug-in-development » org » eclipse » pde » internal » core » ischema » 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 » IDE Eclipse » Eclipse plug in development » org.eclipse.pde.internal.core.ischema 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.pde.internal.core.ischema.ISchema

All known Subclasses:   org.eclipse.pde.internal.core.schema.Schema,
ISchema
public interface ISchema extends ISchemaObject,IBaseModel,IModelChangeProvider(Code)
Objects of this class encapsulate data loaded from the XML Schema file that defines an Eclipse extension point. These files are used for three reasons:
  • To provide grammar that can be used by validation parsers to validate extensions that plug into this extension point
  • To provide additional metadata about this extension point that can be used by PDE to provide user assistence in plug-in development
  • To provide enough material that can be used by tools to compose a reference HTML documentation about this extension point.
Objects of this class can be changed if editable. Other classes can register as change listener in order to receive notification about these changes.


Field Summary
 StringP_PLUGIN
    
 StringP_POINT
    
 intREFRESH_ADD
    
 intREFRESH_DELETE
    
 intREFRESH_RENAME
    


Method Summary
 ISchemaElementfindElement(String name)
     Returns a reference to a schema element defined in this schema or null if not found.
 ISchemaElement[]getCandidateChildren(ISchemaElement element)
     Returns an array of schema elements that can be children of the provided schema element.
public  StringgetDeprecatedSuggestion()
     Returns replacement schema in case this one is deprecated.
 IDocumentSection[]getDocumentSections()
     Returns an array of document sections that are defined in this schema.
public  intgetElementCount()
     Returns a number of elements with global scope defined in this schema.
public  String[]getElementNames()
     Returns an array of element names with the global scope defined in this schema.
public  ISchemaElement[]getElements()
     Returns an array of elements with the global scope defined in this schema.
 ISchemaInclude[]getIncludes()
     Returns a list of elements that correspond to the include statements in the schema file.
public  StringgetPluginId()
    
public  StringgetPointId()
    
public  StringgetQualifiedPointId()
     Returns an Id of the extension point that is defined in this schema.
public  intgetResolvedElementCount()
     Returns a total number of elements after the included schemas have been resolved and their elements added to the list.
public  ISchemaElement[]getResolvedElements()
     Returns an array of elements with the global scope defined in this schema and all the included schemas.
public  ISchemaDescriptorgetSchemaDescriptor()
     Returns an object that holds a reference to this schema.
public  URLgetURL()
     Returns a URL that defines this schema's location.
public  booleanisDeperecated()
     Returns whether the root schema element ( the element) has been marked deprecated, making this schema deprecated.
public  voidsetPluginId(String pluginId)
    
public  voidsetPointId(String pointId)
    

Field Detail
P_PLUGIN
String P_PLUGIN(Code)



P_POINT
String P_POINT(Code)



REFRESH_ADD
int REFRESH_ADD(Code)



REFRESH_DELETE
int REFRESH_DELETE(Code)



REFRESH_RENAME
int REFRESH_RENAME(Code)





Method Detail
findElement
ISchemaElement findElement(String name)(Code)
Returns a reference to a schema element defined in this schema or null if not found.
Parameters:
  name - name of the element to find



getCandidateChildren
ISchemaElement[] getCandidateChildren(ISchemaElement element)(Code)
Returns an array of schema elements that can be children of the provided schema element. The information is computed based on the grammar rules in this schema. The computation ignores number of occurances of each element. Therefore, it will always return the same result even if there could be only one element of a certain type in the document and it already exists.
Parameters:
  element - the parent element that is used for the calculation an array of elements that can appear as children of the providedelement, according to the grammar of this schema



getDeprecatedSuggestion
public String getDeprecatedSuggestion()(Code)
Returns replacement schema in case this one is deprecated. the replacement schema



getDocumentSections
IDocumentSection[] getDocumentSections()(Code)
Returns an array of document sections that are defined in this schema. an array of sections in this schema



getElementCount
public int getElementCount()(Code)
Returns a number of elements with global scope defined in this schema. number of global elements



getElementNames
public String[] getElementNames()(Code)
Returns an array of element names with the global scope defined in this schema. an array of global elements



getElements
public ISchemaElement[] getElements()(Code)
Returns an array of elements with the global scope defined in this schema. an array of global elements



getIncludes
ISchemaInclude[] getIncludes()(Code)
Returns a list of elements that correspond to the include statements in the schema file. Included schemas are incorporated into the model and references can be made to elements in the included files. an array of included schema elements or a zero-size array ifnone.



getPluginId
public String getPluginId()(Code)



getPointId
public String getPointId()(Code)



getQualifiedPointId
public String getQualifiedPointId()(Code)
Returns an Id of the extension point that is defined in this schema. extension point Id of this schema



getResolvedElementCount
public int getResolvedElementCount()(Code)
Returns a total number of elements after the included schemas have been resolved and their elements added to the list. the total number of elements including external schemas



getResolvedElements
public ISchemaElement[] getResolvedElements()(Code)
Returns an array of elements with the global scope defined in this schema and all the included schemas. an expanded array of global elements



getSchemaDescriptor
public ISchemaDescriptor getSchemaDescriptor()(Code)
Returns an object that holds a reference to this schema. Descriptors are responsible for loading and disposing schema objects and could be implemented in various ways, depending on whether the schema is defined inside the workspace or is referenced externally. schema descriptor that holds this schema



getURL
public URL getURL()(Code)
Returns a URL that defines this schema's location. a URL that points to this schema's location.



isDeperecated
public boolean isDeperecated()(Code)
Returns whether the root schema element ( the element) has been marked deprecated, making this schema deprecated. true if this schema is deprecated



setPluginId
public void setPluginId(String pluginId) throws CoreException(Code)



setPointId
public void setPointId(String pointId) throws CoreException(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.