|
Eclipse Rich Ajax Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rwt.branding.Header
public final class Header
This data structure represents an HTML tag that goes into the <head> section of the startup page and is used by the branding facility.
AbstractBranding| Constructor Summary | |
|---|---|
Header(java.lang.String tagName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Constructs a new instance of this class with the given tagName. |
|
Header(java.lang.String tagName,
java.lang.String[] attributeNames,
java.lang.String[] attributeValues)
Constructs a new instance of this class with the given tagName. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getNames()
Returns the array of attribute names. |
java.lang.String |
getTagName()
Returns the name of the header tag. |
java.lang.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 |
|---|
public Header(java.lang.String tagName,
java.util.Map<java.lang.String,java.lang.String> attributes)
tagName.
tagName - the name of the tag, must either be meta or
linkattributes - the attributes for this tag or null if
there are no attributes.
java.lang.IllegalArgumentException - if tagName isn't either
meta or link.
public Header(java.lang.String tagName,
java.lang.String[] attributeNames,
java.lang.String[] attributeValues)
tagName.
tagName - the name of the tag, must either be meta or
linkattributeNames - 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
java.lang.IllegalArgumentException - if tagName isn't either
meta or link.| Method Detail |
|---|
public java.lang.String getTagName()
public java.lang.String[] getNames()
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.
public java.lang.String[] getValues()
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.
|
Eclipse Rich Ajax Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.