info.magnolia.ui.vaadin.gwt.client.shared.magnoliashell
Class Fragment

java.lang.Object
  extended by info.magnolia.ui.vaadin.gwt.client.shared.magnoliashell.Fragment
All Implemented Interfaces:
Serializable

public class Fragment
extends Object
implements Serializable

Helper class for holding the parsed info from the fragment.

See Also:
Serialized Form

Constructor Summary
Fragment()
           
 
Method Summary
static String extractAppName(String fragment)
           
static String extractAppType(String fragment)
           
static String extractParameter(String fragment)
           
static String extractSubAppId(String fragment)
           
static Fragment fromString(String fragment)
           
 String getAppName()
           
 ViewportType getAppViewportType()
           
 String getParameter()
           
 String getSubAppId()
           
 boolean isApp()
           
 boolean isSameApp(Fragment other)
           
 boolean isShellApp()
           
 ShellAppType resolveShellAppType()
           
 void setAppName(String appName)
           
 void setAppViewportType(ViewportType type)
           
 void setParameter(String parameter)
           
 void setSubAppId(String subAppId)
           
 String toFragment()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Fragment

public Fragment()
Method Detail

fromString

public static Fragment fromString(String fragment)

resolveShellAppType

public ShellAppType resolveShellAppType()

setParameter

public void setParameter(String parameter)

setSubAppId

public void setSubAppId(String subAppId)

setAppName

public void setAppName(String appName)

setAppViewportType

public void setAppViewportType(ViewportType type)

getAppViewportType

public ViewportType getAppViewportType()

getAppName

public String getAppName()

getSubAppId

public String getSubAppId()

getParameter

public String getParameter()

toFragment

public String toFragment()

isSameApp

public boolean isSameApp(Fragment other)

toString

public String toString()
Overrides:
toString in class Object

extractAppType

public static String extractAppType(String fragment)

extractAppName

public static String extractAppName(String fragment)

extractSubAppId

public static String extractSubAppId(String fragment)

extractParameter

public static String extractParameter(String fragment)

isShellApp

public boolean isShellApp()

isApp

public boolean isApp()


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.