Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Rich Ajax Platform
Release 1.2

org.eclipse.rwt.branding
Class Header


java.lang.Object
  extended by
org.eclipse.rwt.branding.Header

public final class Header
extends Object

This data structure represents an HTML tag that goes into the <head> section of the startup page and is used by the branding facility.

Since:
1.0.1
See Also:
AbstractBranding

Constructor Summary
Header ( String tagName, Map attributes)
          Constructs a new instance of this class with the given tagName.
Header ( String tagName, String[] attributeNames, String[] attributeValues)
          Constructs a new instance of this class with the given tagName.
 
Method Summary
  String[] getNames ()
          Returns the array of attribute names.
  String getTagName ()
          Returns the name of the header tag.
  String[] getValues ()
          Returns the array of attribute values.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Header

public Header(
String tagName,
              
Map attributes)
Constructs a new instance of this class with the given tagName.

Parameters:
tagName - the name of the tag, must either be meta or link
attributes - the attributes for this tag or null if there are no attributes.
Throws:
IllegalArgumentException - if tagName isn't either meta or link.

Header

public Header(
String tagName,
              
String[] attributeNames,
              
String[] attributeValues)
Constructs a new instance of this class with the given tagName.

Parameters:
tagName - the name of the tag, must either be meta or link
attributeNames - the attribute names for this tag. Must not be null.
attributeValues - the attribute values for this tag. Must match the attribute names given in argument attributeNames
Throws:
IllegalArgumentException - if tagName isn't either meta or link.
Method Detail

getTagName

public 
String getTagName()
Returns the name of the header tag.

Returns:
the tag name

getNames

public 
String[] getNames()
Returns the array of attribute names. If no attributes are defined, an empty array is returned.

Note: This is not the actual structure used by the receiver to maintain its list of names, so modifying the array will not affect the receiver.

Returns:
the attribute names

getValues

public 
String[] getValues()
Returns the array of attribute values. If no attributes are defined, an empty array is returned.

Note: This is not the actual structure used by the receiver to maintain its list of values, so modifying the array will not affect the receiver.

Returns:
the attribute values

Eclipse Rich Ajax Platform
Release 1.2

Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire