Class SchemaViewerForm
java.lang.Object
org.apache.struts.action.ActionForm
org.dlese.dpc.xml.schema.action.form.SchemaViewerForm
- All Implemented Interfaces:
Serializable
public class SchemaViewerForm
extends org.apache.struts.action.ActionForm
Controller for the SchemaViewer app.
- Author:
- ostwald
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the breadCrumbs attribute of the SchemaViewerForm objectbooleanbooleanbooleanGets the displaySchemaNode attribute of the SchemaViewerForm objectGets the displayType attribute of the SchemaViewerForm objectorg.apache.struts.util.LabelValueBean[]getEnumerationOptions(String xpath) Gets the enumerationOptions attribute of the SchemaViewerForm objectGets the globalDef attribute of the SchemaViewerForm objectGets the globalDef attribute of the SchemaViewerForm objectGets the frameworks attribute of the SchemaViewerForm objectGets the globalDef attribute of the SchemaViewerForm objectbooleanbooleanGets the minimalTree attribute of the SchemaViewerForm objectgetPath()Gets the path attribute of the SchemaViewerForm objectGets the prettyTypeElement attribute of the SchemaViewerForm objectString[]Gets the schemaHelper attribute of the SchemaViewerForm objectGets the schemaNode attribute of the SchemaViewerForm objectbooleanbooleanbooleanString[]org.apache.struts.util.LabelValueBean[]getSelectOptions(String xpath) Gets the selectOptions attribute of the SchemaViewerForm objectGets the typeElement attribute of the SchemaViewerForm objectGets the typeName attribute of the SchemaViewerForm objectString[]getVocab()Gets the vocab attribute of the SchemaViewerForm objectprotected final voidOutput a line of text to standard out, with datestamp, if debug is set to true.voidreset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request) voidSets the framework attribute of the SchemaViewerForm objectvoidsetFrameworkName(String val) Sets the framework attribute of the SchemaViewerForm objectvoidsetFrameworks(List list) Sets the frameworks attribute of the SchemaViewerForm objectvoidsetGlobalDef(GlobalDef def) Sets the globalDef attribute of the SchemaViewerForm objectvoidSets the path attribute of the SchemaViewerForm objectvoidvoidvoidsetSchemaHelper(SchemaHelper schemaHelper) Sets the schemaHelper attribute of the SchemaViewerForm objectvoidsetSchemaNode(SchemaNode schemaNode) Sets the schemaNode attribute of the SchemaViewerForm objectvoidsetSelectedFrameworks(String[] sf) voidvoidsetVocab(MetadataVocab vocab) Constructor for the setVocab objectMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
-
Constructor Details
-
SchemaViewerForm
public SchemaViewerForm()Constructor
-
-
Method Details
-
reset
- Overrides:
resetin classorg.apache.struts.action.ActionForm
-
getReportFunctions
-
getReportFunction
-
setReportFunction
-
getReport
-
setReport
-
getFrameworks
Gets the frameworks attribute of the SchemaViewerForm object- Returns:
- The frameworks value
-
setFrameworks
Sets the frameworks attribute of the SchemaViewerForm object- Parameters:
list- The new frameworks value
-
getSelectedFrameworks
-
setSelectedFrameworks
-
getDisplayType
Gets the displayType attribute of the SchemaViewerForm object- Returns:
- The displayType value
-
getDisplaySchemaNode
Gets the displaySchemaNode attribute of the SchemaViewerForm object- Returns:
- The displayItem value
-
getPath
Gets the path attribute of the SchemaViewerForm object- Returns:
- The path value
-
setPath
Sets the path attribute of the SchemaViewerForm object- Parameters:
path- The new path value
-
getTypeName
Gets the typeName attribute of the SchemaViewerForm object- Returns:
- The typeName value
-
setTypeName
-
getSchemaNode
Gets the schemaNode attribute of the SchemaViewerForm object- Returns:
- The schemaNode value
-
getSchemaNodeName
-
setSchemaNode
Sets the schemaNode attribute of the SchemaViewerForm object- Parameters:
schemaNode- The new schemaNode valueead
-
getSchemaNodeIsRequired
public boolean getSchemaNodeIsRequired() -
getSchemaNodeIsAttribute
public boolean getSchemaNodeIsAttribute() -
getSchemaNodeIsElement
public boolean getSchemaNodeIsElement() -
getSubstitutionGroupMembers
-
getHeadElement
-
getGlobalDef
Gets the globalDef attribute of the SchemaViewerForm object- Returns:
- The globalDef value
-
setGlobalDef
Sets the globalDef attribute of the SchemaViewerForm object- Parameters:
def- The new globalDef value
-
getIsSimpleType
public boolean getIsSimpleType() -
getIsComplexType
public boolean getIsComplexType() -
getDefIsEnumeration
public boolean getDefIsEnumeration() -
getDefIsUnion
public boolean getDefIsUnion() -
getDefIsBuiltin
public boolean getDefIsBuiltin() -
getFramework
Gets the globalDef attribute of the SchemaViewerForm object- Returns:
- The globalDef value
-
setFramework
Sets the framework attribute of the SchemaViewerForm object- Parameters:
mdf- The new framework value
-
getFrameworkName
Gets the globalDef attribute of the SchemaViewerForm object- Returns:
- The globalDef value
-
setFrameworkName
Sets the framework attribute of the SchemaViewerForm object- Parameters:
val- The new framework value
-
getTypeElement
Gets the typeElement attribute of the SchemaViewerForm object- Returns:
- The typeElement value
-
getPrettyTypeElement
Gets the prettyTypeElement attribute of the SchemaViewerForm object- Returns:
- The prettyTypeElement value
-
getMinimalTree
Gets the minimalTree attribute of the SchemaViewerForm object- Returns:
- The minimalTree value
-
getBreadCrumbs
Gets the breadCrumbs attribute of the SchemaViewerForm object- Returns:
- The breadCrumbs value
-
setSchemaHelper
Sets the schemaHelper attribute of the SchemaViewerForm object- Parameters:
schemaHelper- The new schemaHelper value
-
getSchemaHelper
Gets the schemaHelper attribute of the SchemaViewerForm object- Returns:
- The schemaHelper value
-
setVocab
Constructor for the setVocab object- Parameters:
vocab-
-
getVocab
Gets the vocab attribute of the SchemaViewerForm object- Returns:
- The vocab value
-
getUnionMembers
-
getEnumerationOptions
-
getEnumerationOptions
Gets the enumerationOptions attribute of the SchemaViewerForm object- Parameters:
xpath- Description of the Parameter- Returns:
- The enumerationOptions value
-
getSelectOptions
Gets the selectOptions attribute of the SchemaViewerForm object- Parameters:
xpath- Description of the Parameter- Returns:
- The selectOptions value
-
prtln
Output a line of text to standard out, with datestamp, if debug is set to true.- Parameters:
s- The String that will be output.
-