Esri Geoportal Server
1.0

com.esri.gpt.catalog.schema
Class UiComponent

java.lang.Object
  extended by com.esri.gpt.catalog.schema.Component
      extended by com.esri.gpt.catalog.schema.UiComponent
Direct Known Subclasses:
Input, Label, Section

public abstract class UiComponent
extends Component

Super-class for a configurable UI component associated with a metadata schema.


Constructor Summary
UiComponent()
          Default constructor.
UiComponent(UiComponent objectToDuplicate)
          Construct by duplicating an existing object.
 
Method Summary
 void configure(CfgContext context, Node node, NamedNodeMap attributes)
          Configures the object based upon a node loaded from a schema configuration XML.
 void echo(StringBuffer sb)
          Appends property information for the component to a StringBuffer.
 String getStyleClass()
          Gets the CSS style class.
 UIComponent makeBR()
          Makes a Faces HtmlOutputText containing a <br/>
 UIComponent makeNBSP()
          Makes a Faces HtmlOutputText containing  
 void setStyleClass(String name)
          Sets the CSS style class.
 
Methods inherited from class com.esri.gpt.catalog.schema.Component
duplicate, getKey, setKey, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UiComponent

public UiComponent()
Default constructor.


UiComponent

public UiComponent(UiComponent objectToDuplicate)
Construct by duplicating an existing object.

Parameters:
objectToDuplicate - the object to duplicate
Method Detail

getStyleClass

public String getStyleClass()
Gets the CSS style class.

Returns:
the style class

setStyleClass

public void setStyleClass(String name)
Sets the CSS style class.

Parameters:
name - the style class

configure

public void configure(CfgContext context,
                      Node node,
                      NamedNodeMap attributes)
Configures the object based upon a node loaded from a schema configuration XML.
The super.configure method should be invoked prior to any sub-class configuration.

The following attributes are configured:
key styleClass

Overrides:
configure in class Component
Parameters:
context - the configuration context
node - the configuration node
attributes - the attributes of the configuration node

echo

public void echo(StringBuffer sb)
Appends property information for the component to a StringBuffer.
The method is intended to support "FINEST" logging.
super.echo should be invoked prior appending any local information.

Overrides:
echo in class Component
Parameters:
sb - the StringBuffer to use when appending information

makeBR

public UIComponent makeBR()
Makes a Faces HtmlOutputText containing a <br/>

Returns:
the UI component

makeNBSP

public UIComponent makeNBSP()
Makes a Faces HtmlOutputText containing  

Returns:
the UI component

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.