All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.jaxb2_commons.ppp.Child Maven / Gradle / Ivy

Go to download

docx4j is a library which helps you to work with the Office Open XML file format as used in docx documents, pptx presentations, and xlsx spreadsheets.

The newest version!
/**
 * Copyright 2007 Gregory A. Kick
 *
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jvnet.jaxb2_commons.ppp;

/**
 * In docx4j, there are a couple of edge cases to 
 * be aware of:
 * 
 * 
    *
  1. What is the parent of something wrapped in a JAXBElement? * * ArrayListWml seeks to set this to the object containing the content list. * * (If the JAXBElement is not added to a content list, then this won't be done. * TraversalUtil seeks to handle some of those cases.)
  2. * *
  3. When a field is set explicitly (eg setPPr) to some object, is the object's parent set? * * Generally not.
  4. *
* * * * @author [email protected], gk5885 * */ public interface Child { public Object getParent(); public void setParent(Object parent); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy