org.exolab.castor.xml.schema
Interface SchemaContext
- SchemaContextImpl
public interface SchemaContext
Represents an execution context for schema reading/writing activities.
$Revision: 7273 $ $Date: 2004-10-05 14:27:10 -0600 (Tue, 05 Oct 2004) $
getParser
public Parser getParser()
Return an XML document parser as specified in the configuration file.
getSchemaResolver
public Resolver getSchemaResolver()
getSerializer
public Serializer getSerializer()
Returns a default serializer for producing an XML document. The caller
can specify an alternative output format, may reuse this serializer
across several streams, and may serialize both DOM and SAX events. If
such control is not required, it is recommended to call one of the other
two methods.
setSchemaResolver
public void setSchemaResolver(Resolver resolver)
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com