|
|
|
|
org.eclipse.rwt.branding
Class Header
java.lang.Object
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 . |
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
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 .
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
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2008. All rights reserved.
|
|
|