|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdocumenter.engine.NSContent
public class NSContent
Represents contents of schema file. The contents of the schema files are resources which are declared in a namespace. This class represents resources declared in a particular namespace.
Constructor Summary | |
---|---|
NSContent()
Create empty NSContent object |
Method Summary | |
---|---|
void |
addClass(java.lang.String value)
|
void |
addClasses(java.util.ArrayList<ResourceRecord> value)
|
void |
addProperties(java.util.ArrayList<ResourceRecord> value)
|
void |
addProperty(java.lang.String value)
|
void |
createHTML(java.lang.String filename)
Creates html page which displays all the resources of the namespace |
java.util.ArrayList<ResourceRecord> |
getClasses()
|
java.lang.String |
getNamespace()
|
java.lang.String |
getPrefix()
|
java.util.ArrayList<ResourceRecord> |
getProperties()
|
void |
print()
Prints to sysout the namespace and its classes |
void |
setClasses(java.util.Collection<ResourceRecord> value)
|
void |
setNamespace(java.lang.String value)
|
void |
setProperties(java.util.Collection<ResourceRecord> value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NSContent()
Method Detail |
---|
public void setNamespace(java.lang.String value)
value
- Objects Namespacepublic java.lang.String getNamespace()
public void addClass(java.lang.String value)
value
- Class namepublic void setClasses(java.util.Collection<ResourceRecord> value)
value
- Collection of ResourceRecord objects which represent classespublic void addClasses(java.util.ArrayList<ResourceRecord> value)
value
- List of ResourceRecord objects which represent classespublic java.util.ArrayList<ResourceRecord> getClasses()
public void addProperty(java.lang.String value)
value
- Name of the propertypublic void setProperties(java.util.Collection<ResourceRecord> value)
value
- Collection of ResourceRecord objects which represent propertiespublic void addProperties(java.util.ArrayList<ResourceRecord> value)
value
- List of ResourceRecord objects which represent propertiespublic java.util.ArrayList<ResourceRecord> getProperties()
public java.lang.String getPrefix()
public void print()
public void createHTML(java.lang.String filename)
filename
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |