站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 common API Documentation 英文版文档

Content (JBoss/Common API) - JBoss 3.2.7 common API Documentation 英文版文档


org.jboss.xml.binding
Class Content

java.lang.Object
  extended byorg.jboss.xml.binding.Content

public class Content
extends Object

An instance of this class represents XML content. It is populated on unmarshalling with org.jboss.xml.binding.ContentPopulator and used to implement content navigation in object model factories. And on marshalling, first, an instance of this class is created and then it is serialized into XML content with org.jboss.xml.binding.ContentWriter.

Version:
$Revision: 1.7.4.1 $
Author:
Alexey Loubyansky

Nested Class Summary
static class Content.Characters
           
static class Content.EndElement
           
static class Content.EndPrefixMapping
           
static class Content.StartElement
           
static class Content.StartPrefixMapping
           
 
Constructor Summary
Content()
           
 
Method Summary
 void build(ObjectModelBuilder builder)
           
 void characters(char[] ch, int start, int length)
           
 void endDocument()
           
 void endElement(String namespaceURI, String localName, String qName)
           
 void endPrefixMapping(String prefix)
           
 String getChildContent(String namespaceURI, String qName)
           
 void handleContent(ContentHandler handler)
           
 void startDocument()
           
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
           
 void startPrefixMapping(String prefix, String uri)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Content

public Content()
Method Detail

getChildContent

public String getChildContent(String namespaceURI,
                              String qName)

handleContent

public void handleContent(ContentHandler handler)
                   throws SAXException
Throws:
SAXException

toString

public String toString()

startDocument

public void startDocument()

endDocument

public void endDocument()

startPrefixMapping

public void startPrefixMapping(String prefix,
                               String uri)

endPrefixMapping

public void endPrefixMapping(String prefix)

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)

endElement

public void endElement(String namespaceURI,
                       String localName,
                       String qName)

characters

public void characters(char[] ch,
                       int start,
                       int length)

build

public void build(ObjectModelBuilder builder)


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