Java Doc for RDMClassification.java in  » Portal » Open-Portal » com » sun » portal » search » rdm » 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 » Portal » Open Portal » com.sun.portal.search.rdm 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.portal.search.rdm.RDMClassification

RDMClassification
public class RDMClassification implements Comparable(Code)
RDM Classification A Classification (or "Category") is how data is organized into a taxonomy. A Classification is analogous to a directory or folder in a file system. To load a Classification definition encoded in SOIF from a file or memory, use RDMTaxonomy_Parse(). Example: SOIFStream *ss = SOIF_ParseInitFile(stdin); c = RDMClassification_Parse(ss); To create a basic Classification structure, use RDMClassification_Parse(). To free a Classification (only node, no children or xrefs), use RDMClassification_Free().


Field Summary
 Listchildren
    
 intdepth
    
 intndescdocs
    
 intndescendant
    
 intndocs
    
 RDMClassificationparent
    
 SOIFsoif
    
 Stringsubcategory
    
 Listxrefs
    

Constructor Summary
public  RDMClassification(String id)
    
public  RDMClassification(SOIFInputStream ss)
    

Method Summary
public  voidapply(int order, RDMCallback cb)
     To traverse the Taxonomy in the given order starting at this Classification, use apply().
protected  RDMClassificationclassfind(String target_id, int target_depth)
    
public  intcompareTo(Object obj)
    
public  voiddeleteChild(String childID)
    
public  voiddeleteXref(String xref)
    
public  RDMClassificationfind(String id)
     To lookup by classification id, use find().
public  ListgetChildren()
    
public  intgetDepth()
    
public  StringgetDescription()
    
public  StringgetId()
     Macros for accessing @CLASSIFICATION values Use prototype: char *RDMClassification_GetXXX(RDMClassification *c).
public  StringgetMatchingRule()
    
public  intgetNumDescDocs()
    
public  intgetNumDescendant()
    
public  intgetNumDocs()
    
public  RDMClassificationgetParent()
    
public  StringgetParentId()
    
public  SOIFgetSOIF()
    
public  StringgetSubcategory()
    
public  StringgetTaxonomyId()
    
public  voidinsertChild(RDMClassification newchild)
    
public  voidinsertXref(String newxref)
    
public  intnChildren()
    
public  intnXrefs()
    
public  RDMClassificationnthChild(int n)
    
public  RDMClassificationnthXref(int n)
    
public  voidsetDescription(String s)
    
public  voidsetId(String s)
     Macros for defining @CLASSIFICATION values Use prototype: int RDMClassification_SetXXX(RDMClassification *c, char *newval).
public  voidsetMatchingRule(String s)
    
public  voidsetNumDescDocs(int n)
    
public  voidsetNumDescendant(int nb)
    
public  voidsetNumDocs(int n)
    
public  voidsetParentId(String s)
    
public  voidsetSubcategory(String id)
    
public  voidsetTaxonomyId(String s)
    
public static  Stringsubcategory(String id, int depth)
     Returns the portion of the id that is 'depth' levels deep. For example, ("a", 1) -.
public  StringtoString()
    

Field Detail
children
List children(Code)



depth
int depth(Code)



ndescdocs
int ndescdocs(Code)



ndescendant
int ndescendant(Code)



ndocs
int ndocs(Code)



parent
RDMClassification parent(Code)



soif
SOIF soif(Code)



subcategory
String subcategory(Code)



xrefs
List xrefs(Code)




Constructor Detail
RDMClassification
public RDMClassification(String id)(Code)



RDMClassification
public RDMClassification(SOIFInputStream ss) throws Exception(Code)




Method Detail
apply
public void apply(int order, RDMCallback cb) throws Exception(Code)
To traverse the Taxonomy in the given order starting at this Classification, use apply(). Similar to RDMTaxonomy::apply().



classfind
protected RDMClassification classfind(String target_id, int target_depth)(Code)



compareTo
public int compareTo(Object obj)(Code)



deleteChild
public void deleteChild(String childID) throws Exception(Code)



deleteXref
public void deleteXref(String xref)(Code)



find
public RDMClassification find(String id)(Code)
To lookup by classification id, use find(). Example: RDMClassification musicp = c.find("Arts:Music");



getChildren
public List getChildren()(Code)



getDepth
public int getDepth()(Code)



getDescription
public String getDescription()(Code)



getId
public String getId()(Code)
Macros for accessing @CLASSIFICATION values Use prototype: char *RDMClassification_GetXXX(RDMClassification *c).



getMatchingRule
public String getMatchingRule()(Code)



getNumDescDocs
public int getNumDescDocs()(Code)



getNumDescendant
public int getNumDescendant()(Code)



getNumDocs
public int getNumDocs()(Code)



getParent
public RDMClassification getParent()(Code)



getParentId
public String getParentId()(Code)



getSOIF
public SOIF getSOIF()(Code)



getSubcategory
public String getSubcategory()(Code)



getTaxonomyId
public String getTaxonomyId()(Code)



insertChild
public void insertChild(RDMClassification newchild)(Code)
To insert a new classification that is the child of the current Inserts a new child, and sorts all children based on Classification Id



insertXref
public void insertXref(String newxref)(Code)
To insert a cross-reference to another classification



nChildren
public int nChildren()(Code)



nXrefs
public int nXrefs()(Code)



nthChild
public RDMClassification nthChild(int n)(Code)
Macros for accessing children and cross references



nthXref
public RDMClassification nthXref(int n)(Code)



setDescription
public void setDescription(String s)(Code)



setId
public void setId(String s)(Code)
Macros for defining @CLASSIFICATION values Use prototype: int RDMClassification_SetXXX(RDMClassification *c, char *newval).



setMatchingRule
public void setMatchingRule(String s)(Code)



setNumDescDocs
public void setNumDescDocs(int n)(Code)



setNumDescendant
public void setNumDescendant(int nb)(Code)



setNumDocs
public void setNumDocs(int n)(Code)



setParentId
public void setParentId(String s)(Code)



setSubcategory
public void setSubcategory(String id)(Code)



setTaxonomyId
public void setTaxonomyId(String s)(Code)



subcategory
public static String subcategory(String id, int depth)(Code)
Returns the portion of the id that is 'depth' levels deep. For example, ("a", 1) -. "a" ("a", 2) -. NULL ("a:b", 2) -. "b" ("a:b:c:d", 1) -. "a" ("a:b:c:d", 2) -. "b" ("a:b:c:d", 3) -. "c" ("a:b:c:d", 4) -. "d" ("a:b:c:d", 5) -. NULL ("a:b:c:d", 0) -. NULL Return malloc'ed value if successful; otherwise returns NULL;



toString
public String toString()(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.