Class DocPropsCustomPart


public class DocPropsCustomPart extends JaxbXmlPart<Properties>
Author:
jharrop
  • Field Details

  • Constructor Details

  • Method Details

    • init

      public void init()
    • unmarshal

      public Properties unmarshal(InputStream is) throws jakarta.xml.bind.JAXBException
      Unmarshal XML data from the specified InputStream and return the resulting content tree. Validation event location information may be incomplete when using this form of the unmarshal API.

      Implements Unmarshal Global Root Element.

      Overrides:
      unmarshal in class JaxbXmlPart<Properties>
      Parameters:
      is - the InputStream to unmarshal XML data from
      Returns:
      the newly created root object of the java content tree
      Throws:
      jakarta.xml.bind.JAXBException - If any unexpected errors occur while unmarshalling
    • getProperty

      public Properties.Property getProperty(String propName)
    • setProperty

      public void setProperty(String propName, String propValue)
    • setProperty

      public void setProperty(String propName, boolean propValue)
      Parameters:
      propName -
      propValue -
      Since:
      3.3.0
    • getNextPid

      public int getNextPid()
      Find the first available Pid
      Returns:
    • getMarkAsFinal

      public boolean getMarkAsFinal()
      Since:
      3.3.0
    • setMarkAsFinal

      public void setMarkAsFinal(boolean val)
      Since:
      3.3.0