Package org.opencms.jsp.util
Class CmsSchemaInfo
- java.lang.Object
-
- org.opencms.jsp.util.CmsSchemaInfo
-
public class CmsSchemaInfo extends java.lang.Object
Bean for accessing XML content schema information from JSPs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CmsSchemaInfo.Field
Represents information about a single field in a content schema.class
CmsSchemaInfo.Tab
Represents the a single editor tab and its fields.
-
Constructor Summary
Constructors Constructor Description CmsSchemaInfo(CmsObject cms, CmsXmlContentDefinition contentDef)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsSchemaInfo.Field
getRoot()
Gets the root node.java.util.List<CmsSchemaInfo.Tab>
getTabs()
Gets the tabs.boolean
hasTabs()
Checks for tabs.
-
-
-
Constructor Detail
-
CmsSchemaInfo
public CmsSchemaInfo(CmsObject cms, CmsXmlContentDefinition contentDef)
Creates a new instance.- Parameters:
cms
- the CMS contextcontentDef
- the content definition
-
-
Method Detail
-
getRoot
public CmsSchemaInfo.Field getRoot()
Gets the root node.- Returns:
- the root node
-
getTabs
public java.util.List<CmsSchemaInfo.Tab> getTabs()
Gets the tabs.- Returns:
- the tabs
-
hasTabs
public boolean hasTabs()
Checks for tabs.- Returns:
- true, if there are tabs
-
-