|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.fatwire.cs.core.uri.AbstractAssembler
com.fatwire.cs.core.uri.QueryAssembler
com.fatwire.cs.core.uri.SatelliteTokenAssembler
public final class SatelliteTokenAssembler
This class assembles URIs that are destined for Satellite Server's translation. URIs assembled by this assembler will never be read by a human, but they will be parsed and re-assembled by Satellite Server.
This assembler does not make any use of properties set into it, and as a result it is not necessary to set properties into this assembler.
| Nested Class Summary | |
|---|---|
static class |
SatelliteTokenAssembler.STADefinition
This class constructs a special Definition that is designed for use with the SatelliteTokenAssembler. |
| Nested classes/interfaces inherited from class com.fatwire.cs.core.uri.AbstractAssembler |
|---|
AbstractAssembler.AssemblyContext, AbstractAssembler.DisassemblyContext |
| Field Summary | |
|---|---|
static java.lang.String |
PREFERRED_ASSEMBLER
Parameter for the preferred assembler |
static java.lang.String |
SATELLITE_FRAGMENT
Value always passed as the fragment into SatelliteTokenAssembler URIs. |
static java.lang.String |
SATELLITE_SCHEME
Value always passed as the scheme into SatelliteTokenAssembler URIs |
static java.lang.String |
SATELLITE_TOKEN
This string is a token that will appear in every URI assembled by this assembler. |
| Fields inherited from class com.fatwire.cs.core.uri.AbstractAssembler |
|---|
PAGENAME |
| Constructor Summary | |
|---|---|
SatelliteTokenAssembler()
|
|
| Method Summary | |
|---|---|
Definition |
disassemble(java.net.URI uri,
Definition.ContainerType ct)
This method disassembles a URI into its components, constructing a Definition object to provide conveniece accessors to the data encoded in the URI. |
protected AbstractAssembler.AssemblyContext |
getAssemblyContext(Definition def)
Returns an assembly context object given the input definition. |
java.lang.String |
getAuthority(AbstractAssembler.AssemblyContext def)
Get the authority for this URI |
java.lang.String |
getFragment(AbstractAssembler.AssemblyContext def)
Returns the fragment for this URI. |
java.lang.String |
getPath(AbstractAssembler.AssemblyContext def)
This method returns the path for the URI given the definition specified. |
java.lang.String |
getScheme(AbstractAssembler.AssemblyContext def)
Returns the scheme (protocol) for the assembly context specified. |
| Methods inherited from class com.fatwire.cs.core.uri.QueryAssembler |
|---|
getAppType, getAuthority, getFragment, getPathForApp, getPathForSatelliteServer, getQuery, getQuery, getSatelliteContext, getScheme, getSessionEncode |
| Methods inherited from class com.fatwire.cs.core.uri.AbstractAssembler |
|---|
assemble, decode, decode, encode, getDisassemblyContext, getLog, getProperty, parseQueryString, setProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String SATELLITE_SCHEME
public static java.lang.String SATELLITE_FRAGMENT
public static java.lang.String SATELLITE_TOKEN
public static java.lang.String PREFERRED_ASSEMBLER
| Constructor Detail |
|---|
public SatelliteTokenAssembler()
| Method Detail |
|---|
protected AbstractAssembler.AssemblyContext getAssemblyContext(Definition def)
AbstractAssembler
getAssemblyContext in class AbstractAssemblerdef - input definition
AbstractAssembler.AssemblyContextpublic java.lang.String getScheme(AbstractAssembler.AssemblyContext def)
AbstractAssembler
getScheme in class QueryAssemblerdef - Assembly context object
public java.lang.String getAuthority(AbstractAssembler.AssemblyContext def)
QueryAssembler
getAuthority in class QueryAssemblerdef - Assembly context object
public java.lang.String getPath(AbstractAssembler.AssemblyContext def)
QueryAssemblerQueryAssembler.getPathForApp(Definition.AppType)QueryAssembler.getPathForSatelliteServer(Definition.AppType)
getPath in class QueryAssemblerdef - Assembly context object
public java.lang.String getFragment(AbstractAssembler.AssemblyContext def)
QueryAssembler
getFragment in class QueryAssemblerdef - Assembly context object
public Definition disassemble(java.net.URI uri,
Definition.ContainerType ct)
throws java.net.URISyntaxException
disassemble in interface Assemblerdisassemble in class AbstractAssembleruri - URI to disassemblect - the type of the container that this URL is being generated for.
java.net.URISyntaxException - if there is a problem with the URI syntax.SatelliteTokenAssembler.STADefinition,
Definition.ContainerType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||