public final class StaticContext
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Uri |
collation
Default collation.
|
TokenObjMap<DecFormatter> |
decFormats
Decimal formats.
|
SeqType |
initType
Context item static type.
|
NSContext |
ns
Static and dynamic namespaces.
|
byte[] |
nsElem
Default element/type namespace.
|
byte[] |
nsFunc
Default function namespace.
|
boolean |
nsInherit
Copy-namespaces mode: (no-)inherit.
|
boolean |
nsPreserve
Copy-namespaces mode: (no-)preserve.
|
boolean |
ordered
Ordering mode.
|
boolean |
orderGreatest
Default order for empty sequences.
|
boolean |
spaces
Boundary-space policy.
|
boolean |
strip
Construction mode.
|
| Constructor and Description |
|---|
StaticContext() |
| Modifier and Type | Method and Description |
|---|---|
IO |
baseIO()
Returns an IO representation of the static base URI, or
null. |
Uri |
baseURI()
Returns the static base URI.
|
void |
baseURI(java.lang.String uri)
Sets the static base URI.
|
IO |
io(java.lang.String fn)
Returns an IO references for the specified filename.
|
void |
namespace(java.lang.String prefix,
java.lang.String uri)
Declares a namespace.
|
java.lang.String |
toString() |
public final TokenObjMap<DecFormatter> decFormats
public NSContext ns
public byte[] nsElem
public byte[] nsFunc
public SeqType initType
public boolean strip
public boolean ordered
public boolean orderGreatest
public boolean spaces
public boolean nsPreserve
public boolean nsInherit
public Uri collation
public void namespace(java.lang.String prefix,
java.lang.String uri)
throws QueryException
prefix - namespace prefixuri - namespace URIQueryException - query exceptionpublic IO baseIO()
null.public IO io(java.lang.String fn)
fn - filenamepublic Uri baseURI()
public void baseURI(java.lang.String uri)
uri - uri to be setpublic java.lang.String toString()
toString in class java.lang.Object