org.apache.myfaces.tobago.layout
Class LayoutTokens

java.lang.Object
  extended by org.apache.myfaces.tobago.layout.LayoutTokens
All Implemented Interfaces:
Iterable<LayoutToken>

public final class LayoutTokens
extends Object
implements Iterable<LayoutToken>


Constructor Summary
LayoutTokens()
           
 
Method Summary
 void addToken(LayoutToken token)
           
 void ensureSize(int size, LayoutToken token)
           
 LayoutToken get(int index)
           
 int getSize()
           
 List<LayoutToken> getTokens()
           
 boolean isEmpty()
           
 Iterator<LayoutToken> iterator()
           
static LayoutTokens parse(String tokens)
           
static LayoutTokens parse(String[] tokens)
           
static LayoutTokens parse(String tokens, LayoutToken defaultToken)
           
static LayoutToken parseToken(String token)
           
 void set(int index, LayoutToken token)
           
 void shrinkSizeTo(int size)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayoutTokens

public LayoutTokens()
Method Detail

getSize

public int getSize()

set

public void set(int index,
                LayoutToken token)

isEmpty

public boolean isEmpty()

get

public LayoutToken get(int index)

shrinkSizeTo

public void shrinkSizeTo(int size)

ensureSize

public void ensureSize(int size,
                       LayoutToken token)

addToken

public void addToken(LayoutToken token)

getTokens

public List<LayoutToken> getTokens()

iterator

public Iterator<LayoutToken> iterator()
Specified by:
iterator in interface Iterable<LayoutToken>

parse

public static LayoutTokens parse(String[] tokens)

parse

public static LayoutTokens parse(String tokens)

parse

public static LayoutTokens parse(String tokens,
                                 LayoutToken defaultToken)

parseToken

public static LayoutToken parseToken(String token)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.