Class AFPPageSetup

    • Field Detail

      • ATT_VALUE

        protected static final java.lang.String ATT_VALUE
        value attribute
        See Also:
        Constant Field Values
      • ATT_PLACEMENT

        protected static final java.lang.String ATT_PLACEMENT
        placement attribute
        See Also:
        Constant Field Values
      • content

        protected java.lang.String content
        the extension content
      • value

        protected java.lang.String value
        the extension value attribute
      • placement

        protected ExtensionPlacement placement
        defines where to place the extension in the generated file
      • encoding

        protected int encoding
        the CCSID character set encoding
    • Constructor Detail

      • AFPPageSetup

        public AFPPageSetup​(java.lang.String elementName)
        Default constructor.
        Parameters:
        elementName - the name of the setup code object, may be null
    • Method Detail

      • getEncoding

        public int getEncoding()
        Returns:
        CCSID character set encoding
      • setEncoding

        public void setEncoding​(int encoding)
        Parameters:
        encoding - CCSID character set encoding
      • getValue

        public java.lang.String getValue()
        Returns the value of the extension.
        Returns:
        the value
      • setValue

        public void setValue​(java.lang.String source)
        Sets the value
        Parameters:
        source - The value name to set.
      • getContent

        public java.lang.String getContent()
        Returns the content of the extension.
        Returns:
        the data
      • setContent

        public void setContent​(java.lang.String content)
        Sets the data
        Parameters:
        content - The byte data to set.
      • getPlacement

        public ExtensionPlacement getPlacement()
        Returns the intended placement of the extension inside the generated file.
        Returns:
        the intended placement
      • setPlacement

        public void setPlacement​(ExtensionPlacement placement)
        Sets the intended placement of the extension inside the generated file.
        Parameters:
        placement - the intended placement
      • toSAX

        public void toSAX​(org.xml.sax.ContentHandler handler)
                   throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object