text: //
  //  Generated by the J2ObjC translator.  DO NOT EDIT!
  //  source: /Users/antoniocortes/j2objcprj/relases/j2objc/xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/TreeWalker.java
  //
  
  #include "J2ObjC_header.h"
  
  #pragma push_macro("INCLUDE_ALL_OrgApacheXmlSerializerTreeWalker")
  #ifdef RESTRICT_OrgApacheXmlSerializerTreeWalker
  #define INCLUDE_ALL_OrgApacheXmlSerializerTreeWalker 0
  #else
  #define INCLUDE_ALL_OrgApacheXmlSerializerTreeWalker 1
  #endif
  #undef RESTRICT_OrgApacheXmlSerializerTreeWalker
  
  #pragma clang diagnostic push
  #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
  
  #if __has_feature(nullability)
  #pragma clang diagnostic push
  #pragma GCC diagnostic ignored "-Wnullability"
  #pragma GCC diagnostic ignored "-Wnullability-completeness"
  #endif
  
  #if !defined (OrgApacheXmlSerializerTreeWalker_) && (INCLUDE_ALL_OrgApacheXmlSerializerTreeWalker || defined(INCLUDE_OrgApacheXmlSerializerTreeWalker))
  #define OrgApacheXmlSerializerTreeWalker_
  
  @class OrgApacheXmlSerializerUtilsDOM2Helper;
  @protocol OrgW3cDomNode;
  @protocol OrgXmlSaxContentHandler;
  
  /*!
   @brief This class does a pre-order walk of the DOM tree, calling a ContentHandler
    interface as it goes.
   This class is a copy of the one in org.apache.xml.utils. 
    It exists to cut the serializers dependancy on that package.
   */
  @interface OrgApacheXmlSerializerTreeWalker : NSObject {
   @public
    /*!
     @brief DomHelper for this TreeWalker
     */
    OrgApacheXmlSerializerUtilsDOM2Helper *m_dh_;
    /*!
     @brief Flag indicating whether following text to be processed is raw text
     */
    jboolean nextIsRaw_;
  }
  
  #pragma mark Public
  
  - (instancetype __nonnull)initWithOrgXmlSaxContentHandler:(id<OrgXmlSaxContentHandler>)ch;
  
  /*!
   @brief Constructor.
   @param contentHandler The implemention of the  contentHandler operation (toXMLString, digest, ...)
   */
  - (instancetype __nonnull)initWithOrgXmlSaxContentHandler:(id<OrgXmlSaxContentHandler>)contentHandler
                                               withNSString:(NSString *)systemId;
  
  /*!
   @brief Get the ContentHandler used for the tree walk.
   @return the ContentHandler used for the tree walk
   */
  - (id<OrgXmlSaxContentHandler>)getContentHandler;
  
  /*!
   @brief Perform a pre-order traversal non-recursive style.
   Note that TreeWalker assumes that the subtree is intended to represent 
    a complete (though not necessarily well-formed) document and, during a 
    traversal, startDocument and endDocument will always be issued to the 
    SAX listener.
   @param pos Node in the tree where to start traversal
   @throw TransformerException
   */
  - (void)traverseWithOrgW3cDomNode:(id<OrgW3cDomNode>)pos;
  
  /*!
   @brief Perform a pre-order traversal non-recursive style.
   Note that TreeWalker assumes that the subtree is intended to represent 
    a complete (though not necessarily well-formed) document and, during a 
    traversal, startDocument and endDocument will always be issued to the 
    SAX listener.
   @param pos Node in the tree where to start traversal
   @param top Node in the tree where to end traversal
   @throw TransformerException
   */
  - (void)traverseWithOrgW3cDomNode:(id<OrgW3cDomNode>)pos
                  withOrgW3cDomNode:(id<OrgW3cDomNode>)top;
  
  #pragma mark Protected
  
  /*!
   @brief End processing of given node
   @param node Node we just finished processing
   @throw org.xml.sax.SAXException
   */
  - (void)endNodeWithOrgW3cDomNode:(id<OrgW3cDomNode>)node;
  
  /*!
   @brief Start processing given node
   @param node Node to process
   @throw org.xml.sax.SAXException
   */
  - (void)startNodeWithOrgW3cDomNode:(id<OrgW3cDomNode>)node;
  
  // Disallowed inherited constructors, do not use.
  
  - (instancetype __nonnull)init NS_UNAVAILABLE;
  
  @end
  
  J2OBJC_EMPTY_STATIC_INIT(OrgApacheXmlSerializerTreeWalker)
  
  J2OBJC_FIELD_SETTER(OrgApacheXmlSerializerTreeWalker, m_dh_, OrgApacheXmlSerializerUtilsDOM2Helper *)
  
  FOUNDATION_EXPORT void OrgApacheXmlSerializerTreeWalker_initWithOrgXmlSaxContentHandler_(OrgApacheXmlSerializerTreeWalker *self, id<OrgXmlSaxContentHandler> ch);
  
  FOUNDATION_EXPORT OrgApacheXmlSerializerTreeWalker *new_OrgApacheXmlSerializerTreeWalker_initWithOrgXmlSaxContentHandler_(id<OrgXmlSaxContentHandler> ch) NS_RETURNS_RETAINED;
  
  FOUNDATION_EXPORT OrgApacheXmlSerializerTreeWalker *create_OrgApacheXmlSerializerTreeWalker_initWithOrgXmlSaxContentHandler_(id<OrgXmlSaxContentHandler> ch);
  
  FOUNDATION_EXPORT void OrgApacheXmlSerializerTreeWalker_initWithOrgXmlSaxContentHandler_withNSString_(OrgApacheXmlSerializerTreeWalker *self, id<OrgXmlSaxContentHandler> contentHandler, NSString *systemId);
  
  FOUNDATION_EXPORT OrgApacheXmlSerializerTreeWalker *new_OrgApacheXmlSerializerTreeWalker_initWithOrgXmlSaxContentHandler_withNSString_(id<OrgXmlSaxContentHandler> contentHandler, NSString *systemId) NS_RETURNS_RETAINED;
  
  FOUNDATION_EXPORT OrgApacheXmlSerializerTreeWalker *create_OrgApacheXmlSerializerTreeWalker_initWithOrgXmlSaxContentHandler_withNSString_(id<OrgXmlSaxContentHandler> contentHandler, NSString *systemId);
  
  J2OBJC_TYPE_LITERAL_HEADER(OrgApacheXmlSerializerTreeWalker)
  
  #endif
  
  
  #if __has_feature(nullability)
  #pragma clang diagnostic pop
  #endif
  
  #pragma clang diagnostic pop
  #pragma pop_macro("INCLUDE_ALL_OrgApacheXmlSerializerTreeWalker")
  