Class SMOCData.ArrayBased3

  • Enclosing class:
    SMOCData

    private static final class SMOCData.ArrayBased3
    extends SMOCData
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) char[] mBuf  
      (package private) int mLen  
      (package private) int mOffset  
    • Constructor Summary

      Constructors 
      Constructor Description
      ArrayBased3​(char[] buf, int offset, int len)  
    • Field Detail

      • mBuf

        final char[] mBuf
      • mOffset

        final int mOffset
      • mLen

        final int mLen
    • Constructor Detail

      • ArrayBased3

        ArrayBased3​(char[] buf,
                    int offset,
                    int len)
    • Method Detail

      • _output

        protected boolean _output​(SMOutputContext ctxt,
                                  boolean canClose)
                           throws javax.xml.stream.XMLStreamException
        Description copied from class: SMOutputtable
        Method called to request that the entity output itself; either as much as it can without closing, or as much as it can if it is to get closed. In both cases output can fail or be only a partial one: buffered nodes will not be output at all, and nodes with buffered children can only be partially output.
        Specified by:
        _output in class SMOCData
        Parameters:
        ctxt - Output context to use for outputting this node (and its contents)
        canClose - If true, indicates that the node can (and should) be fully closed if possible. This (passing true) is usually done when a new sibling is added after a node (element/fragment); if so, current one should be recursively closed. If false, should only try to output as much as can be done without forcing closures.
        Returns:
        True if the whole node could be output, ie. neither it nor its children are buffered.
        Throws:
        javax.xml.stream.XMLStreamException