|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.basistech.rlp.ContextParameters
public class ContextParameters
Parameters for context creation.
Constructor Summary | |
---|---|
ContextParameters()
Default constructor. |
Method Summary | |
---|---|
Object |
clone()
Clones this ContextParameters object. |
long |
getContextDataLength()
Retrieves the length of the context definition string. |
String |
getContextDefinition()
Returns the contextconfig XML definition that you have defined. |
void |
setContextDataLength(long length)
Sets the length of the context definition string. |
void |
setContextDefinition(File fileOfXML)
Uses an contextconfig XML file to define an RLP context. |
void |
setContextDefinition(String XML)
Uses a contextconfig XML document in the form of an XML string to define an RLP context. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextParameters()
Method Detail |
---|
public void setContextDataLength(long length)
length
- The length of the context definition string.public long getContextDataLength()
public void setContextDefinition(String XML)
If the document contain an XML declaration with an encoding attribute (optional), the encoding MUST be set to UTF-8. For example: <?xml version='1.0' encoding='utf-8'?>
XML
- Contextconfig XML that defines a context.public void setContextDefinition(File fileOfXML) throws IOException
fileOfXML
- Contextconfig document that defines a context.
IOException
- If there are problems reading the file.public String getContextDefinition()
public Object clone()
clone
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |