Class XMLStringBlockImpl

    • Constructor Detail

      • XMLStringBlockImpl

        public XMLStringBlockImpl​(org.apache.axiom.om.OMElement omElement,
                                  QName qName,
                                  BlockFactory factory)
        Constructor called from factory
        Parameters:
        reader -
        qName -
        factory -
    • Method Detail

      • isElementData

        public boolean isElementData()
        Specified by:
        isElementData in interface Block<String,​Void>
        Returns:
        true if data is always an element; false if possibly mixed content or multiple elements
      • close

        public void close()
        Specified by:
        close in interface org.apache.axiom.om.OMDataSourceExt
        Overrides:
        close in class org.apache.axiom.om.ds.AbstractOMDataSource
      • getObject

        public Object getObject()
        Specified by:
        getObject in interface org.apache.axiom.om.OMDataSourceExt
        Overrides:
        getObject in class org.apache.axiom.om.ds.AbstractOMDataSource
      • isDestructiveRead

        public boolean isDestructiveRead()
        Specified by:
        isDestructiveRead in interface org.apache.axiom.om.OMDataSourceExt
      • isDestructiveWrite

        public boolean isDestructiveWrite()
        Specified by:
        isDestructiveWrite in interface org.apache.axiom.om.OMDataSourceExt
      • copy

        public org.apache.axiom.om.OMDataSourceExt copy()
                                                 throws org.apache.axiom.om.OMException
        Specified by:
        copy in interface org.apache.axiom.om.OMDataSourceExt
        Overrides:
        copy in class BlockImpl<String,​Void>
        Throws:
        org.apache.axiom.om.OMException