org.jboss.xb.binding.sunday.marshalling
Interface MarshallingContext

All Superinterfaces:
MarshallingContext

public interface MarshallingContext
extends MarshallingContext

Version:
$Revision: 1.1 $
Author:
Alexey Loubyansky

Method Summary
 void declareNamespace(String prefix, String ns)
           
 AttributeBinding getAttributeBinding()
           
 String getPrefix(String ns)
           
 SchemaBinding getSchemaBinding()
           
 Object peek()
           
 
Methods inherited from interface org.jboss.xb.binding.MarshallingContext
getContentHandler, getSimpleContentProperty, isAttributeRequired, isTypeComplex
 

Method Detail

getSchemaBinding

SchemaBinding getSchemaBinding()
Returns:
schema binding

getAttributeBinding

AttributeBinding getAttributeBinding()
Returns:
current attribute binding

getPrefix

String getPrefix(String ns)
Parameters:
ns - the namespace to return the prefix for
Returns:
the prefix for the namespace (can be null if the namespace is not mapped to a prefix and the second parameter is false)

declareNamespace

void declareNamespace(String prefix,
                      String ns)
Parameters:
prefix - prefix for the namespace being declared
ns - the namespace to declare for the current component

peek

Object peek()
Returns:
current object on the stack


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.