Logo Search packages:      
Sourcecode: galax version File versions  Download package

void galapi::ProcessingContext::setSerializationKind ( int  kind  )  throws GalapiException [inline]

Set one of the serialization modes (default = SERIALIZE_WellFormed)

Parameters:
kind One of SERIALIZE_WellFormed, ERIALIZE_XQuery, SERIALIZE_Canonical
Exceptions:
GalapiException 

Definition at line 196 of file ProcessingContext.java.

References SERIALIZE_Canonical.

    {
          if ((kind < 0) || (kind > SERIALIZE_Canonical)) {
                throw new GalapiException("Error in setting serialization kind. Must be one of SERIALIZE_WellFormed, ERIALIZE_XQuery, SERIALIZE_Canonical");
          }
          else {
                nativeSetSerializationKind(this.getNativeItem(), kind);
          }     
    }


Generated by  Doxygen 1.6.0   Back to index