Package org.geotools.xsd.impl
Class DocumentHandlerImpl
Object
HandlerImpl
DocumentHandlerImpl
- All Implemented Interfaces:
- DocumentHandler,- Handler
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateChildHandler(QName qName) Returns a handler for a component in the schema which is a child of this component.voidendChildHandler(Handler child) Called when a child handler is finished, on the trailing edge of the child element.voidXSDSchemaContentgetValue()voidstartChildHandler(Handler child) Called when a child handler is started, on the leading edge of the child element.voidMethods inherited from class HandlerImplendPrefixMapping, getContext, setContext, startPrefixMappingMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HandlerendPrefixMapping, getContext, setContext, startPrefixMapping
- 
Constructor Details- 
DocumentHandlerImpl
 
- 
- 
Method Details- 
getSchemaContentpublic XSDSchemaContent getSchemaContent()- Specified by:
- getSchemaContentin interface- Handler
- Returns:
- The entity of the schema that corresponds to the handler.
 
- 
getComponent- Specified by:
- getComponentin interface- Handler
- Returns:
- The instance of the schema content that is currently being handled.
 
- 
getValue
- 
getParseNode- Specified by:
- getParseNodein interface- Handler
- Returns:
- The parse tree for the handler.
 
- 
createChildHandlerDescription copied from interface:HandlerReturns a handler for a component in the schema which is a child of this component.This method will return null in two situations: - The schema component being handled does not support children (for example, an attribute).
- A child with the specified qName could not be found.
 - Specified by:
- createChildHandlerin interface- Handler
- Parameters:
- qName- The qualified name of the schema component.
- Returns:
- A new handler, or null if one cannot be created.
 
- 
startChildHandlerDescription copied from interface:HandlerCalled when a child handler is started, on the leading edge of the child element.- Specified by:
- startChildHandlerin interface- Handler
- Parameters:
- child- The executing child handler.
 
- 
endChildHandlerDescription copied from interface:HandlerCalled when a child handler is finished, on the trailing edge of the child element.- Specified by:
- endChildHandlerin interface- Handler
- Parameters:
- child- The executing child handler.
 
- 
getParentHandler- Specified by:
- getParentHandlerin interface- Handler
- Returns:
- The parent handler.
- See Also:
- 
- Handler#getChildHandler(QName, SchemaBuilder)
 
 
- 
startDocumentpublic void startDocument()- Specified by:
- startDocumentin interface- DocumentHandler
 
- 
endDocumentpublic void endDocument()- Specified by:
- endDocumentin interface- DocumentHandler
 
 
-