|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.web3d.vrml.lang.ProfileInfo
Description of a single profile.
A profile is a short-hand way of describing an aggregation of components. A valid profile will always have one or more components, but a title string is optional.
| Constructor Summary | |
ProfileInfo(java.lang.String name,
java.lang.String title,
ComponentInfo[] comps)
Construct a basic component description that just has a name and level. |
|
| Method Summary | |
ComponentInfo[] |
getComponents()
Get the list of defined components for this profile. |
java.lang.String |
getName()
Get the name of this component. |
java.lang.String |
getTitle()
Get the title of this component. |
java.lang.String |
toX3DString()
Return a formatted string version of this component that conforms to the X3D 1.0 specification for VRML file encoding. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProfileInfo(java.lang.String name,
java.lang.String title,
ComponentInfo[] comps)
name - The name of the componenttitle - The level of the componentcomps - The components that make up this profile
java.lang.IllegalArgumentException - The name was null or level < 1| Method Detail |
public java.lang.String getName()
public java.lang.String getTitle()
public ComponentInfo[] getComponents()
public java.lang.String toX3DString()
PROFILE keyword, as per spec.
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||