|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.html.HtmlElement | +--weblogic.html.HtmlContainer
Class for HtmlContainer objects. An HtmlContainer object (itself an HtmlElement) holds any number of HtmlElements. Use the addElement() method to add HtmlElements to an HtmlContainer.
HtmlElements in an HtmlContainer can be accessed by name (the name is set when the HtmlElement is added to the HtmlContainer) or by index position. The arrangement of HtmlElements in the container can be changed by inserting or removing objects. The class also has methods for determining the number of elements in the container, determining if an element existed at a position, replacing an element at a particular index position, etc.
HtmlElement
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
HtmlContainer()
Deprecated. Constructs an HtmlContainer. |
Method Summary | |
HtmlContainer |
addElement(HtmlElement elem)
Deprecated. Adds an HtmlElement to an HtmlContainer. |
HtmlContainer |
addElement(java.lang.String str)
Deprecated. Adds a string to an HtmlContainer. |
HtmlContainer |
addElement(java.lang.String newkey,
HtmlElement val)
Deprecated. Adds an HtmlElement identified by the specified key to an HtmlContainer. |
HtmlContainer |
addElement(java.lang.String newkey,
java.lang.String str)
Deprecated. Adds a string identified by the specified key to an HtmlContainer. |
void |
clear()
Deprecated. Clears all elements in an HtmlContainer. |
boolean |
containsElementAt(int pos)
Deprecated. Determines whether the specified index position exists. |
boolean |
containsElementAt(java.lang.String keystr)
Deprecated. Determines whether the specified location key exists. |
java.util.Enumeration |
elements()
Deprecated. Enumerates the elements in an HtmlContainer. |
HtmlElement |
firstElement()
Deprecated. Returns the first HtmlElement in an HtmlContainer. |
HtmlElement |
getElementAt(int pos)
Deprecated. Returns the HtmlElement at the specified index position. |
HtmlElement |
getElementAt(java.lang.String key)
Deprecated. Returns the HtmlElement at the specified key location. |
java.lang.String |
getKeyAt(int pos)
Deprecated. Gets the keyname at the specified index position. |
boolean |
hasKeyAt(int pos)
Deprecated. Determines whether the specified index position exists. |
int |
indexOf(java.lang.String key)
Deprecated. Gets the index position of the specified key identifier. |
HtmlContainer |
insertElementAt(HtmlElement elem,
int pos)
Deprecated. Inserts an HtmlElement into an HtmlContainer at the specified index position. |
HtmlContainer |
insertElementAt(HtmlElement elem,
java.lang.String keyname)
Deprecated. Inserts an HtmlElement into an HtmlContainer at the specified key location. |
HtmlContainer |
insertElementAt(java.lang.String newkey,
HtmlElement val,
int pos)
Deprecated. Inserts an HtmlElement identified by the specified key into an HtmlContainer at the specified index position. |
HtmlContainer |
insertElementAt(java.lang.String newkey,
HtmlElement val,
java.lang.String keyname)
Deprecated. Inserts an HtmlElement identified by the specified key into an HtmlContainer at the specified key location. |
HtmlContainer |
insertElementAt(java.lang.String str,
int pos)
Deprecated. Inserts a string into an HtmlContainer at the specified index position. |
HtmlContainer |
insertElementAt(java.lang.String str,
java.lang.String keyname)
Deprecated. Inserts a string into an HtmlContainer at the specified key location. |
HtmlContainer |
insertElementAt(java.lang.String newkey,
java.lang.String str,
int pos)
Deprecated. Inserts a string identified by the specified key into an HtmlContainer at the specified index position. |
HtmlContainer |
insertElementAt(java.lang.String newkey,
java.lang.String str,
java.lang.String keyname)
Deprecated. Inserts a string identified by the specified key into an HtmlContainer at the specified key location. |
HtmlElement |
lastElement()
Deprecated. Returns the last HtmlElement in an HtmlContainer. |
void |
output(java.io.OutputStream out)
Deprecated. Outputs an HtmlContainer to the specified output stream. |
void |
output(java.io.OutputStream out,
java.lang.String codeset)
Deprecated. Outputs an HtmlContainer to the specified output stream. |
void |
output(java.io.PrintWriter pw)
Deprecated. |
HtmlContainer |
removeElementAt(int pos)
Deprecated. Removes whatever is at the specified index position. |
HtmlContainer |
removeElementAt(java.lang.String pos)
Deprecated. Removes whatever is at the specified index position. |
HtmlContainer |
replaceElementAt(HtmlElement elem,
int pos)
Deprecated. Replaces whatever is at the specified index position with the specified HtmlElement. |
HtmlContainer |
replaceElementAt(HtmlElement elem,
java.lang.String keystr)
Deprecated. Replaces whatever is at the specified key location with the specified HtmlElement. |
HtmlContainer |
replaceElementAt(java.lang.String newkey,
HtmlElement val,
int pos)
Deprecated. Replaces whatever is at the specified index position with the specified HtmlElement identified by the specified key. |
HtmlContainer |
replaceElementAt(java.lang.String newkey,
HtmlElement val,
java.lang.String oldkey)
Deprecated. Replaces whatever is at the specified key location with the specified HtmlElement identified by the specified key. |
HtmlContainer |
replaceElementAt(java.lang.String str,
int pos)
Deprecated. Replaces whatever is at the specified index position with the specified string. |
HtmlContainer |
replaceElementAt(java.lang.String str,
java.lang.String keystr)
Deprecated. Replaces whatever is at the specified key location with the specified string. |
HtmlContainer |
replaceElementAt(java.lang.String newkey,
java.lang.String str,
int pos)
Deprecated. Replaces whatever is at the specified index position with the specified string identified by the specified key. |
HtmlContainer |
replaceElementAt(java.lang.String newkey,
java.lang.String str,
java.lang.String oldkey)
Deprecated. Replaces whatever is at the specified key location with the specified string identified by the specified key. |
int |
size()
Deprecated. Returns the number of elements in an HtmlContainer. |
int |
widthAsLiteral()
Deprecated. Constrains width of the contents of an HtmlContainer to its literal width. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public HtmlContainer()
Method Detail |
public HtmlContainer addElement(HtmlElement elem)
elem
- HtmlElementpublic HtmlContainer addElement(java.lang.String str)
str
- Stringpublic HtmlContainer addElement(java.lang.String newkey, java.lang.String str)
newkey
- Key that identifies the stringstr
- Stringpublic HtmlContainer addElement(java.lang.String newkey, HtmlElement val)
newkey
- Key that identifies the HtmlElementval
- HtmlElementpublic HtmlContainer insertElementAt(HtmlElement elem, int pos)
elem
- HtmlElement to be addedpos
- Index positionpublic HtmlContainer insertElementAt(java.lang.String str, int pos)
str
- Stringpos
- Index positionpublic HtmlContainer insertElementAt(java.lang.String newkey, java.lang.String str, int pos)
newkey
- Key that identifies the stringstr
- Stringpos
- Index positionpublic HtmlContainer insertElementAt(java.lang.String newkey, HtmlElement val, int pos)
newkey
- Key that identifies the HtmlElementval
- HtmlElementpos
- Index positionpublic HtmlContainer insertElementAt(HtmlElement elem, java.lang.String keyname) throws HtmlException
elem
- HtmlElementkeyname
- Location to insertpublic HtmlContainer insertElementAt(java.lang.String str, java.lang.String keyname) throws HtmlException
str
- Stringkeyname
- Location to insertpublic HtmlContainer insertElementAt(java.lang.String newkey, java.lang.String str, java.lang.String keyname) throws HtmlException
newkey
- Key that identifies the stringstr
- Stringkeyname
- Location to insertpublic HtmlContainer insertElementAt(java.lang.String newkey, HtmlElement val, java.lang.String keyname) throws HtmlException
newkey
- Key that identifies the HtmlElementval
- HtmlElementkeyname
- Location to insertpublic HtmlContainer replaceElementAt(HtmlElement elem, int pos)
elem
- HtmlElementpos
- Index positionpublic HtmlContainer replaceElementAt(java.lang.String str, int pos)
str
- Stringpos
- Index positionpublic HtmlContainer replaceElementAt(java.lang.String newkey, java.lang.String str, int pos)
newkey
- Identifierstr
- Stringpos
- Index positionpublic HtmlContainer replaceElementAt(java.lang.String newkey, HtmlElement val, int pos)
newkey
- Identifierval
- HtmlElementpos
- Index positionpublic HtmlContainer replaceElementAt(HtmlElement elem, java.lang.String keystr) throws HtmlException
elem
- HtmlElementkeystr
- Location for replacementpublic HtmlContainer replaceElementAt(java.lang.String str, java.lang.String keystr) throws HtmlException
str
- Stringkeystr
- Location for replacementpublic HtmlContainer replaceElementAt(java.lang.String newkey, java.lang.String str, java.lang.String oldkey) throws HtmlException
newkey
- New key identifierstr
- Stringoldkey
- Location for replacementpublic HtmlContainer replaceElementAt(java.lang.String newkey, HtmlElement val, java.lang.String oldkey) throws HtmlException
newkey
- New key identifierval
- HtmlElementoldkey
- Location for replacementpublic HtmlContainer removeElementAt(int pos)
pos
- Index positionpublic HtmlContainer removeElementAt(java.lang.String pos)
pos
- Index positionpublic boolean containsElementAt(int pos)
pos
- Index positionpublic boolean containsElementAt(java.lang.String keystr)
keystr
- Key identifierpublic int size()
public HtmlElement getElementAt(java.lang.String key)
key
- Key locationpublic HtmlElement getElementAt(int pos)
pos
- Index positionpublic HtmlElement lastElement()
public HtmlElement firstElement()
public java.lang.String getKeyAt(int pos) throws HtmlException
pos
- Index positionpublic boolean hasKeyAt(int pos)
pos
- Index positionpublic void clear()
public int indexOf(java.lang.String key)
key
- Key identifierpublic final java.util.Enumeration elements()
public int widthAsLiteral()
public void output(java.io.OutputStream out) throws java.io.IOException
out
- OutputStreampublic void output(java.io.OutputStream out, java.lang.String codeset) throws java.io.IOException
out
- OutputStreamcodeset
- Java Codesetpublic void output(java.io.PrintWriter pw) throws java.io.IOException
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |